mirror of
https://github.com/daylinmorgan/hwylterm.git
synced 2025-02-23 09:45:50 -06:00
12 lines
171 B
Nim
12 lines
171 B
Nim
|
import hwylterm, hwylterm/hwylcli
|
||
|
|
||
|
hwylCli:
|
||
|
name "base"
|
||
|
flags:
|
||
|
key "a flag named 'key'"
|
||
|
run:
|
||
|
if key:
|
||
|
echo "key set"
|
||
|
else:
|
||
|
echo "key not set"
|