hwylterm/todo.md

55 lines
1.7 KiB
Markdown
Raw Normal View History

2024-09-17 17:29:28 -05:00
# hwylterm todo's
2024-09-23 00:59:19 -05:00
- [x] add cligen adapters to add colors with bbansi
- [ ] add integration test check cligen
2024-09-30 17:23:52 -05:00
- [x] add generic help generator to accompany parseopt
2024-09-23 00:59:19 -05:00
## improvements
2024-10-01 15:44:10 -05:00
- [ ] addJoinStyle(); works like join except wraps each argument in a style
2024-09-30 11:12:26 -05:00
- [ ] consider reducing illwill surface to only relevant IO (input) features
2024-10-17 00:38:46 -05:00
- [ ] revamp spinner api (new threads?)
2024-09-27 15:02:23 -05:00
- [x] add Bbstring ~~indexing operations~~ strutils, that are span aware
2024-10-08 15:32:29 -05:00
- [ ] add a `commands` option for `newHwylCli` in `hwylterm/cli`
2024-10-31 21:42:41 -05:00
- [ ] console object with customizable options to apply formatting
2024-09-23 00:59:19 -05:00
2024-11-07 13:52:28 -06:00
### cli generato
2024-11-07 10:47:11 -06:00
- [ ] add support for types(metavars)/defaults/required in help output
2024-11-07 22:53:12 -06:00
- [ ] add support for enum (parse string)
2024-11-09 17:40:53 -06:00
- [ ] add support for a count flag
2024-11-07 13:52:28 -06:00
- [ ] abstract the `globalFlags` argument to a `flagGroups` section with a builtin `global`
this would allow users to "inherit" flag groups in subcommands
```nim
flags:
# global flag group auto propagated down
--- global
config "path to config"
--- shared
shared:
`a-flag` "some shared flag"
-- sub
flags:
^shared
unique "some unique flag"
```
2024-11-07 10:47:11 -06:00
2024-09-23 00:59:19 -05:00
## features
2024-09-25 14:46:49 -05:00
- [x] make a basic choose one from list widget
2024-09-27 16:52:02 -05:00
- [ ] tables/boxes?
2024-10-17 00:38:46 -05:00
- [x] confirmation proc
2024-09-30 17:23:52 -05:00
- [ ] basic progress bar
2024-09-27 16:52:02 -05:00
- [ ] support for 256 and truecolors
- [ ] support for rgb colors
2024-09-25 14:46:49 -05:00
- [ ] modify 256 colors w/parser changes to be `"[color(9)]red"` instead of `[9]red`
2024-09-26 16:32:55 -05:00
- [x] improve color detection [ref](https://github.com/Textualize/rich/blob/4101991898ee7a09fe1706daca24af5e1e054862/rich/console.py#L791)
2024-10-08 15:32:29 -05:00
## testing
- [ ] investigate [cap10](https://github.com/crashappsec/cap10) as a means of scripting the testing
2024-09-17 17:29:28 -05:00
<!-- generated with <3 by daylinmorgan/todo -->