diff --git a/todo.md b/todo.md index a167967..4ca7553 100644 --- a/todo.md +++ b/todo.md @@ -8,10 +8,10 @@ - [ ] addJoinStyle(); works like join except wraps each argument in a style +- [ ] add span aware split/splitlines - [ ] consider reducing illwill surface to only relevant IO (input) features - [ ] revamp spinner api (new threads?) - [x] add Bbstring ~~indexing operations~~ strutils, that are span aware -- [ ] add a `commands` option for `newHwylCli` in `hwylterm/cli` - [ ] console object with customizable options to apply formatting ### cli generator @@ -22,8 +22,9 @@ - [x] add support to either (lengthen commands) or provide an alias for a subcommand - [x] add command aliases to hwylcli help with switch - [x] don't recreate "global"" variables in var section -- [ ] make proper test suite for cli generator - +- [ ] add flag overlap check before case statement generation (after parsing?) +- [ ] add key-value flag support -> `--setting:a:off` +- [ ] add defaultFlagType CliCfg setting ## features @@ -35,8 +36,10 @@ - [ ] support for rgb colors - [ ] modify 256 colors w/parser changes to be `"[color(9)]red"` instead of `[9]red` - [x] improve color detection [ref](https://github.com/Textualize/rich/blob/4101991898ee7a09fe1706daca24af5e1e054862/rich/console.py#L791) + ## testing +- [ ] make proper test suite for cli generator - [ ] investigate [cap10](https://github.com/crashappsec/cap10) as a means of scripting the testing