169dda2d6b
Now in python-fuelclient if we try to get help message for specific command with '--help' option, e.g.: fuel2 node list --help the output result looks very ugly, because it prints all available commands in fuel2 instead of detailed description for exact command. Also we have similar behavior if we try to specify non-existing command. This patch makes help message more accurate and user-friendly, e.g.: #fuel2 env add nodes --help usage: fuel2 env add nodes [-h] -e ENV -n NODES [NODES ...] -r ROLES [ROLES ...] Adds nodes to an environment with the specified roles. optional arguments: -h, --help show this help message and exit -e ENV, --env ENV Id of the environment to add nodes to -n NODES [NODES ...], --nodes NODES [NODES ...] Ids of the nodes to add. -r ROLES [ROLES ...], --roles ROLES [ROLES ...] Target roles of the nodes. #fuel2 non-existing --help Unknown command ['non-existing'] Change-Id: I89afb39d92ffb01c37fbf558e6d62091ac6112e7 Partial-Bug: 1629285 |
||
---|---|---|
fuelclient | ||
specs | ||
tools | ||
.gitignore | ||
.gitreview | ||
.testr.conf | ||
MAINTAINERS | ||
MANIFEST.in | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
python-fuelclient
python-fuelclient provides a CLI tool and a Python API wrapper for interacting with Fuel.
Project resources
- Project status, bugs, and blueprints are tracked on Launchpad:
- Development documentation is hosted here:
- User guide can be found here:
- Any additional information can be found on the Fuel's project wiki
Anyone wishing to contribute to python-fuelclient should follow the general OpenStack process. A good reference for it can be found here: https://wiki.openstack.org/wiki/How_To_Contribute