diff options
author | Juan Antonio Osorio <juan.osorio.robles@ericsson.com> | 2014-07-16 16:29:37 +0300 |
---|---|---|
committer | Juan Antonio Osorio <juan.osorio.robles@ericsson.com> | 2014-08-09 14:55:03 +0300 |
commit | 9f0452fdc0f7e62dcf7e9fa4829ff82409f84cca (patch) | |
tree | bb9ccc5362672c2d5cb2af87e812bddcdd502f72 /setup.cfg | |
parent | ac30643631b6bc1c40116061f8eb280a7881e422 (diff) | |
download | python-barbicanclient-9f0452fdc0f7e62dcf7e9fa4829ff82409f84cca.tar.gz |
Introduce cliff for cli framework
This patch introduces the cliff framework from oslo.
The same functionality from the old command line interface was
replicated, and a few orthographic errors where corrected from the
command help.
The application structure was made so that it resembles the way
python-openstackclient was done, this will enable the code to be
integrated to that client in a more straight forward way. Same with
the naming of classes within the sub-commands. For example, the list
commands are List<Entity> and not List<Entities>; this was done in
such way because it is done that way in python-openstack client;
and the aim of this commit is to produce functional code, and at the
same time, follow their standards to be able to integrate this
there without much hassle.
NOTE: Only secrets and orders were added, since verifications are no
longer in use
Implements: blueprint cliff-for-python-barbicanclient
Change-Id: Ice2dddf418dfb76a616b65f22dc8dfd7ef4df36f
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -26,6 +26,18 @@ packages = console_scripts = barbican = barbicanclient.barbican:main +barbican.client = + + order_create = barbicanclient.barbican_cli.orders:CreateOrder + order_delete = barbicanclient.barbican_cli.orders:DeleteOrder + order_get = barbicanclient.barbican_cli.orders:GetOrder + order_list = barbicanclient.barbican_cli.orders:ListOrder + + secret_delete = barbicanclient.barbican_cli.secrets:DeleteSecret + secret_get = barbicanclient.barbican_cli.secrets:GetSecret + secret_list = barbicanclient.barbican_cli.secrets:ListSecret + secret_store = barbicanclient.barbican_cli.secrets:StoreSecret + [build_sphinx] source-dir = doc/source build-dir = doc/build |