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-31 21:42:41 -05:00
|
|
|
- [ ] console object with customizable options to apply formatting
|
2024-09-23 00:59:19 -05:00
|
|
|
|
2024-11-10 12:30:56 -06:00
|
|
|
### cli generator
|
2024-11-07 10:47:11 -06:00
|
|
|
|
2025-01-28 15:41:14 -06:00
|
|
|
- [x] add InferShortFlags setting
|
2025-01-27 14:13:39 -06:00
|
|
|
- [ ] ShowHelp setting should occur after "a hwylCliError"
|
|
|
|
could be by default (see `program --help` for more info.)
|
2025-01-28 15:41:14 -06:00
|
|
|
- [ ] consider support "more verbose" help i.e. -h vs --help giving different results
|
2024-11-07 10:47:11 -06:00
|
|
|
- [ ] add support for types(metavars)/defaults/required in help output
|
2025-01-27 08:58:25 -06:00
|
|
|
- [ ] add support for E/env param for flags to add custom env_var (in help (env: OPTIONAL_ENV_VAR))
|
|
|
|
inject this code in the same place as the "default" setting
|
2024-11-28 10:21:34 -06:00
|
|
|
- [ ] generalize parser error handling
|
2024-11-18 08:49:54 -06:00
|
|
|
- [ ] consider default (or opt in) "help subcmd"
|
|
|
|
> app help (show all help?)
|
|
|
|
> app help <subcmd> same as app <subcmd> --help
|
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-11-14 17:15:04 -06:00
|
|
|
|
2024-10-08 15:32:29 -05:00
|
|
|
## testing
|
|
|
|
|
2024-11-14 17:15:04 -06:00
|
|
|
- [ ] make proper test suite for cli generator
|
2024-10-08 15:32:29 -05:00
|
|
|
- [ ] 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 -->
|