rackspace/python-novaclient — Issue #140: nova should have all the options reformated
Author: Razique
Created: 2011-10-25 16:25:49+00:00
State: open

Hi,
I'm using the last version of novaclient.
when I run nova --help only flags are list
In order to have all the available option, I need to type an non-existent command on purpose, in order to obtain the whole list of options.
That would be great to have a flag to list all option (eg nova --show-commands)
and print in column the result, the actual display is quite a pain to read :

usage: nova [--username USERNAME] [--apikey APIKEY] [--projectid PROJECTID]
[--url URL] [--region_name REGION_NAME] [--version VERSION]
...
nova: error: argument : invalid choice: 'df' (choose from 'rename', 'zone-add', 'suspend', 'keypair-delete', 'resize-confirm', 'secgroup-delete-rule', 'migrate', 'remove-floating-ip', 'keypair-add', 'actions', 'meta', 'secgroup-create', 'add-fixed-ip', 'secgroup-delete-group-rule', 'secgroup-add-rule', 'floating-ip-list', 'help', 'image-list', 'pause', 'zone', 'keypair-list', 'show', 'boot', 'reboot', 'remove-fixed-ip', 'floating-ip-create', 'image-delete', 'zone-delete', 'volume-list', 'secgroup-list-rules', 'volume-detach', 'unpause', 'root-password', 'rescue', 'floating-ip-delete', 'resume', 'image-show', 'volume-delete', 'resize-revert', 'secgroup-delete', 'zone-info', 'volume-show', 'volume-create', 'rebuild', 'secgroup-add-group-rule', 'image-meta', 'resize', 'image-create', 'add-floating-ip', 'volume-attach', 'list', 'unrescue', 'secgroup-list', 'zone-list', 'diagnostics', 'zone-boot', 'flavor-list', 'delete')

Razique