mirror of
https://github.com/daylinmorgan/hwylterm.git
synced 2025-02-23 09:45:50 -06:00
19 lines
307 B
Nim
19 lines
307 B
Nim
|
import std/[strformat]
|
||
|
import hwylterm, hwylterm/hwylcli
|
||
|
|
||
|
hwylCli:
|
||
|
name "default-values"
|
||
|
flags:
|
||
|
input:
|
||
|
T string
|
||
|
* "testing"
|
||
|
? "some help after default"
|
||
|
outputs:
|
||
|
T seq[string]
|
||
|
count:
|
||
|
T int
|
||
|
* 5
|
||
|
? "some number"
|
||
|
run:
|
||
|
echo fmt"{input=} {outputs=}"
|