2019-07-08 15:09:08 +00:00
|
|
|
import
|
|
|
|
../confutils
|
|
|
|
|
2019-11-08 15:55:25 +00:00
|
|
|
cli do (foo: int, bar: string, withBaz: bool, args {.argument.}: seq[string]):
|
2019-07-08 15:09:08 +00:00
|
|
|
echo "foo = ", foo
|
|
|
|
echo "bar = ", bar
|
2019-11-08 15:55:25 +00:00
|
|
|
echo "baz = ", withBaz
|
2019-07-08 15:09:08 +00:00
|
|
|
for arg in args: echo "arg ", arg
|
|
|
|
|