hwylterm/todo.md
2025-01-27 14:13:42 -06:00

1.7 KiB

hwylterm todo's

  • add cligen adapters to add colors with bbansi
    • add integration test check cligen
  • add generic help generator to accompany parseopt

improvements

  • addJoinStyle(); works like join except wraps each argument in a style
  • consider reducing illwill surface to only relevant IO (input) features
  • revamp spinner api (new threads?)
  • add Bbstring indexing operations strutils, that are span aware
  • console object with customizable options to apply formatting

cli generator

  • ShowHelp setting should occur after "a hwylCliError" could be by default (see program --help for more info.)
  • add support for types(metavars)/defaults/required in help output
  • 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
  • generalize parser error handling
  • consider default (or opt in) "help subcmd"

    app help (show all help?) app help same as app --help

features

  • make a basic choose one from list widget
  • tables/boxes?
  • confirmation proc
  • basic progress bar
  • support for 256 and truecolors
    • support for rgb colors
    • modify 256 colors w/parser changes to be "[color(9)]red" instead of [9]red
    • improve color detection ref

testing

  • make proper test suite for cli generator
  • investigate cap10 as a means of scripting the testing