All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- New flag
-s
to list memos sorted by Id - Add colors to displayd data in the terminal
- Made the default behaviour of list to show memos grouped by date
- Moved data model from data.rs to models.rs
- Moved implementation of data model from data.rs to impls.rs
- Made impls.rs public in lib.rs API
- Those changes aims to make more clear the separation of data trait in
data.rs
, the default data model inmodels.rs
and the implementations of this model inimpls.rs
- Included more unittests
- Replaced
Box<dyn>
arguments byimpl
. This is more applicable for the application and more efficieny.
- Turned as main argument rather than argument of a subcommand
- Turned Init into a flag
- Turned List into a flag
- Turned delete into an opttion
- Include command to Add items to memo
- Include command to Remove items from memo by id
- Improve writing to file. Now, a temp file is written to, then this file is renamed as the data file.