This commit is contained in:
parent
d56d65d4ac
commit
63a8221074
@ -122,10 +122,11 @@ Archived entries can be viewed using `cndump -a`, searched with `cnfind -a`, or
|
||||
|
||||
### cnfind
|
||||
|
||||
Search notes by text, category, or date.
|
||||
Search notes by text, category, or date. Output width adapts to terminal size automatically.
|
||||
|
||||
```bash
|
||||
cnfind meeting # search for 'meeting' in text (case-insensitive)
|
||||
cnfind -s -c Work # show Work category (simple output)
|
||||
cnfind -c Work # show all entries in Work category
|
||||
cnfind -d 2025-01-30 # show all entries from a specific date
|
||||
cnfind -c Work meeting # search 'meeting' in Work category only
|
||||
@ -139,6 +140,7 @@ Options:
|
||||
- `-d DATE` - Filter by date (YYYY-MM-DD)
|
||||
- `-i` - Case-sensitive search (default is case-insensitive)
|
||||
- `-n` - Show only count of matches
|
||||
- `-s, --simple` - Simple output without box borders
|
||||
- `-a, --archive` - Search archived entries instead of active
|
||||
|
||||
The output includes line numbers for use with `cndel -n`.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user