feat(cli): readline history
This commit is contained in:
parent
fe66326956
commit
9b75cb6144
3 changed files with 58 additions and 9 deletions
12
notes.org
12
notes.org
|
|
@ -189,24 +189,24 @@ CLOCK: [2025-05-04 dim. 14:01]--[2025-05-04 dim. 14:14] => 0:13
|
|||
|
||||
* DONE remove old FromStr parser implementation
|
||||
|
||||
* TODO use a better readline impl
|
||||
* DONE use a better readline impl
|
||||
|
||||
** DONE inform myself on the different alternatives and decide on one
|
||||
i will use rustyline, since it seems like the most feature-complete
|
||||
|
||||
** DONE do the impl
|
||||
|
||||
** TODO make history work
|
||||
** DONE make history work
|
||||
|
||||
*** DONE have the rl instance be spawned from main
|
||||
|
||||
*** TODO figure out how to locate the app data directory on linux
|
||||
*** DONE figure out how to locate the app data directory on linux
|
||||
|
||||
*** TODO create our own app data directory
|
||||
*** DONE create our own app data directory
|
||||
|
||||
*** TODO load and save the history from a file in this directory
|
||||
*** DONE load and save the history from a file in this directory
|
||||
|
||||
* TODO handle non-interactive input better
|
||||
* DONE handle non-interactive input better
|
||||
|
||||
* TODO cli tests using insta-cmd
|
||||
https://insta.rs/docs/cmd/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue