hwylterm/tests/cli/clis/propagateSetting.nim

26 lines
388 B
Nim

import hwylterm, hwylterm/hwylcli
hwylCli:
name "setting-propagate"
settings Propagate, InferShort
flags:
[misc]
input:
T string
* "the default"
? "input flag"
count:
T Count
* Count(val: 0)
? "a count var with default"
subcommands:
[one]
flags:
^[misc]
[two]
settings HideDefault
flags:
^[misc]