aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBen Winston2025-06-07 22:25:20 -0400
committerBen Winston2025-06-07 22:25:20 -0400
commit758f82749b739f70da17c5db7daef45817f8d966 (patch)
treea9b365923cb3b9530144d947011f035b0c0bc38f /README.md
parent39b6385d9ce0bb7469334fd5c2ed76ea198c5196 (diff)
update README with progress
Diffstat (limited to 'README.md')
-rw-r--r--README.md25
1 files changed, 13 insertions, 12 deletions
diff --git a/README.md b/README.md
index f2fad9b..aca651b 100644
--- a/README.md
+++ b/README.md
@@ -6,16 +6,17 @@ but in C, 'cause why not?
Differences between (current state) cbooki and the (current iteration) Python version:
-| Feature | Current Version | cbooki |
-|------------------------|------------------------|-----------------------|
-| `add` | works | works |
-| `discover` | works | doesn't exist |
-| sorting | by author last name | by order in file |
-| styling | title underlined | no styling |
-| `--show` | only at end of command | anywhere in command |
-| lists | anywhere in file | on string fields |
-| `search` | by author, title, on | + language |
-| accents in `search` | must be explicit | diacritic-insensitive |
+| Feature | Current Version | cbooki |
+|------------------------|------------------------|---------------------------------|
+| `add` | works | works |
+| `discover` | works | doesn't exist |
+| sorting | by author last name | by order in file |
+| styling | title underlined | no styling |
+| `--show` | only at end of command | anywhere in command |
+| lists | anywhere in file | on string fields |
+| `search` | by author, title, on | on any field |
+| accents in `search` | must be explicit | diacritic-insensitive |
+| editing | preserves file order | edits brought to bottom of file |
Things that work:
- [x] `search` with arbitrary query items
@@ -32,7 +33,7 @@ Things that don't work:
Things that might change:
- [ ] `--show` might want to limit by field
- [x] now parsing manually ~~currently uses [tomlc99](https://github.com/cktan/tomlc99), which is great but might be overkill for this~~
- - [ ] maybe prefixed `<` or `>` for numeric searches
- - [ ] format strings
+ - [x] ~~maybe prefixed `<` or `>` for numeric searches~~ prefixes are `+` for greater and `~` for less
+ - [x] ~~format strings~~ with `--format` supports names of fields in surrounding `%` characters, i.e. the default is `%title% by %author%`
- [ ] discover endpoint
- [ ] how much lives on the stack vs the heap