hwylterm/todo.md

1.8 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
  • add span aware split/splitlines
  • 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

  • add support for types(metavars)/defaults/required in help output
  • add nargs to CliCfg
  • add support for inheriting a single flag from parent (even from a "group")
  • add support to either (lengthen commands) or provide an alias for a subcommand
  • add command aliases to hwylcli help with switch
  • don't recreate "global"" variables in var section
  • add flag overlap check before case statement generation (after parsing?)
  • add key-value flag support -> --setting:a:off
  • add defaultFlagType CliCfg setting
  • add node to flagDef to override builtin parse(p, varName)

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