search from date/category
This commit is contained in:
parent
6d3a932b54
commit
a1f2acfe70
@ -25,6 +25,8 @@ Example:
|
||||
- [x] Delete a note
|
||||
- [x] Modify a note
|
||||
- [x] Show all notes in a scrollable TextView in a raw terminal with [termimad](https://crates.io/crates/termimad)
|
||||
- [ ] Show all notes from `DATE` or `Category`
|
||||
- [x] Show all notes from `DATE` or `Category`
|
||||
- [x] Search a note by header
|
||||
- [x] Search a note by word (kinda grep)
|
||||
- [ ] List all notes
|
||||
- [ ] List all notes from a `Category`
|
||||
|
@ -70,9 +70,7 @@ pub fn make_app() -> App<'static, 'static> {
|
||||
Arg::with_name("category")
|
||||
.help("Show all notes from a category/date")
|
||||
.short("c")
|
||||
.short("d")
|
||||
.long("category")
|
||||
.long("date"),
|
||||
.long("category"),
|
||||
)
|
||||
.arg(Arg::with_name("header").help("Name of the note.")),
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user