nim-confutils/tests/cli_example.nim
2019-07-08 18:09:08 +03:00

9 lines
166 B
Nim

import
../confutils
cli do (foo: int, bar: string, args {.argument.}: seq[string]):
echo "foo = ", foo
echo "bar = ", bar
for arg in args: echo "arg ", arg