[openstack-dev] [Solum] Command Line Interface for Solum

Doug Hellmann doug.hellmann at dreamhost.com
Wed Nov 13 17:28:47 UTC 2013

On Sun, Nov 10, 2013 at 10:15 AM, Noorul Islam K M <noorul at noorul.com>wrote:

> Hello all,
> I registered a new blueprint [1] for command line client interface for
> Solum. We need to decide whether we should have a separate repository
> for this or go with new unified CLI framework [2]. Since Solum is not
> part of OpenStack I think it is not the right time to go with the
> unified CLI.

One of the key features of the cliff framework used for the unified command
line app is that the subcommands can be installed independently of the main
program. So you can write plugins that work with the openstack client, but
put them in the solum client library package (and source repository). That
would let you, for example:

  $ pip install python-solumclient
  $ pip install python-openstackclient
  $ openstack solum make me a paas

Dean has done a lot of work to design a consistent "noun-followed-by-verb"
command structure, so please look at that work when picking subcommand
names (for example, you shouldn't use solum as a prefix as I did in my
example above, since we are removing the project names from the commands).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20131113/3ec4c677/attachment.html>

More information about the OpenStack-dev mailing list