From 758f82749b739f70da17c5db7daef45817f8d966 Mon Sep 17 00:00:00 2001 From: Ben Winston Date: Sat, 7 Jun 2025 22:25:20 -0400 Subject: update README with progress --- README.md | 25 +++++++++++++------------ 1 file 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 -- cgit v1.2.3