tiramisu-cmdline-parser/tests/data/compare/40_positional_optional/tiramisu.py

4 lines
206 B
Python

parser.add_arguments([StrOption('echo', 'echo the string you use here', properties=('mandatory', 'positional')),
BoolOption('verbosity', 'increase output verbosity', default=False)])