Comment 5 for bug 1290018

Revision history for this message
Rahul Ranjan (rahul-rrixe) wrote :

Hi Doug,

Libcloud has various IAAS clients like EC2, DigitalOcean etc. So We want command structure like this

libcloud <api> <resource> <action>

and by default cliff only supports

libcloud <api> <action> structure.

So that a user when want to use EC2 API, he can switch to that and the subcommands would follow the resource related
to EC2 only ;

libcloud EC2 compute list node -f json

Also we can have command consisting more than a word like "Create Node, Delete Node"
but they would be individual command as you have pointed in above comments,

Can you have look on this application https://github.com/racker/python-raxcli used by rackspace

We want similar implementation but their command manager is hacky.