I am leaving this as an issue to be considered later.
See: https://docs.python.org/dev/library/argparse.html#allow-abbrev
Python3's argparse (by default) supports using abbreviations of options. So, for instance,
python some_cli.py --f
python some_cli.py --foo
python some_cli.py --foobar
are all acceptable values for the --foobar long-named option.
I am not convinced I actually want to support that. I can understand the benefit of not having to type out a very long option name. But at the same time, not supporting this feature could help inspire avoid such long names...
Gonna think about this one.
I am leaving this as an issue to be considered later.
See: https://docs.python.org/dev/library/argparse.html#allow-abbrev
Python3's argparse (by default) supports using abbreviations of options. So, for instance,
are all acceptable values for the
--foobarlong-named option.I am not convinced I actually want to support that. I can understand the benefit of not having to type out a very long option name. But at the same time, not supporting this feature could help inspire avoid such long names...
Gonna think about this one.