hwylterm/todo.md

47 lines
1.8 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-11-14 17:15:04 -06:00
- [ ] add span aware split/splitlines
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
- [ ] add support for types(metavars)/defaults/required in help output
2024-11-10 12:54:30 -06:00
- [ ] add nargs to CliCfg
2024-11-13 08:52:55 -06:00
- [x] add support for inheriting a single flag from parent (even from a "group")
- [x] add support to either (lengthen commands) or provide an alias for a subcommand
2024-11-13 09:07:54 -06:00
- [x] add command aliases to hwylcli help with switch
2024-11-14 11:06:51 -06:00
- [x] don't recreate "global"" variables in var section
2024-11-14 17:15:04 -06:00
- [ ] add flag overlap check before case statement generation (after parsing?)
- [ ] add key-value flag support -> `--setting:a:off`
- [ ] add defaultFlagType CliCfg setting
2024-11-16 13:13:05 -06:00
- [x] add node to flagDef to override builtin `parse(p, varName)`
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 -->