f55e785448ac98a829e1df95d05c34adc3da7757
When there are two commands: one 'foo', that expects a positional argument, and a second command 'foo bar'. Trying to enter the command 'foo bar' will invoke the command 'foo' with position argument 'bar', and not the second command 'foo bar'. This is due to the fact that the find command method first checks for the first word as a command. By trying first to match all arguments this problem is solved. Closes-Bug: #1618673 Change-Id: I24ea39813ad30ec095ea18baad3a7b088fa8108f
cliff -- Command Line Interface Formulation Framework
cliff is a framework for building command line programs. It uses setuptools entry points to provide subcommands, output formatters, and other extensions.
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/cliff
- Source: http://git.openstack.org/cgit/openstack/cliff
- Bugs: https://bugs.launchpad.net/python-cliff
Description
Languages
Python
99.6%
Shell
0.4%