hwylterm/tests/cli/clis/posFirst.nim

13 lines
226 B
Nim
Raw Normal View History

2025-01-23 17:29:52 -06:00
import std/[strformat]
import hwylterm, hwylterm/hwylcli
hwylCli:
name "positionals"
args:
first seq[string]
second string
third string
run:
echo fmt"{first=}, {second=}, {third=}"
echo fmt"{args=}"