add some help docs

This commit is contained in:
Daylin Morgan 2024-11-10 12:04:37 -06:00
parent a57d4ee687
commit 0375acc677
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -121,11 +121,16 @@ proc bb*(cli: HwylCliHelp): BbString =
# ---------------------------------------- # ----------------------------------------
type type
Count* = object Count* = object ## Count type for an incrementing flag
val*: int val*: int
CliSetting = enum type
NoHelpFlag, ShowHelp, NoNormalize # ----
CliSetting* = enum
NoHelpFlag, ## Remove the builtin help flag
ShowHelp, ## If cmdline empty show help
NoNormalize ## Don't normalize flags and commands
BuiltinFlag = object BuiltinFlag = object
name*: string name*: string
short*: char short*: char