mirror of
https://github.com/daylinmorgan/hwylterm.git
synced 2025-02-23 09:45:50 -06:00
14 lines
198 B
Nim
14 lines
198 B
Nim
|
import std/strformat
|
||
|
import hwylterm, hwylterm/hwylcli
|
||
|
|
||
|
|
||
|
hwylCli:
|
||
|
name "required-flag"
|
||
|
flags:
|
||
|
input:
|
||
|
S Required
|
||
|
T string
|
||
|
? "a required flag!"
|
||
|
run:
|
||
|
echo fmt"{input=}"
|