setup.py
This commit is contained in:
3
tests/data/compare/40_positional_optional/argparse.py
Normal file
3
tests/data/compare/40_positional_optional/argparse.py
Normal file
@ -0,0 +1,3 @@
|
||||
parser.add_argument("echo", help="echo the string you use here")
|
||||
parser.add_argument('--verbosity', help='increase output verbosity', action='store_true')
|
||||
|
3
tests/data/compare/40_positional_optional/tiramisu.py
Normal file
3
tests/data/compare/40_positional_optional/tiramisu.py
Normal file
@ -0,0 +1,3 @@
|
||||
parser.add_arguments([StrOption('echo', 'echo the string you use here', properties=('mandatory', 'positional')),
|
||||
BoolOption('verbosity', 'increase output verbosity', default=False)])
|
||||
|
Reference in New Issue
Block a user