introduce cliff to the python-barbicanclient

Registered by Juan Antonio Osorio Robles

Introduce cliff as a cli framework for python-barbicanclient, and, as a result
promote usage of common OpenStack libraries.

Problem Description
===================

Currently the barbican cli utilities (such as the migration script and even
the python-barbicanclient itself) rely on the argparse library, yet, their
current implementations do not provide sufficient information for their usage
in production. Usage of "standard" libraries should be encouraged in order to
make barbican's integration easier. On the other hand, subcommand help is
lacking, and input is not properly validated.

Proposed Change
===============

The proposal is to take into use cliff, which is a framework for building
command line programs introduced by Oslo. This will enable barbican's scripts
to have more standard outputs (akin to other OpenStack projects) and while
moving the code to the new framework, better documentation will be added to the
commands as part of the work.

Alternatives
------------

The argparse library could still be used, yet, more input validation and
documentation needs to be added.

Blueprint information

Status:
Complete
Approver:
Douglas Mendizábal
Priority:
Medium
Drafter:
Juan Antonio Osorio Robles
Direction:
Approved
Assignee:
Juan Antonio Osorio Robles
Definition:
Approved
Series goal:
Accepted for 3.x.x
Implementation:
Implemented
Milestone target:
None
Started by
Juan Antonio Osorio Robles
Completed by
Juan Antonio Osorio Robles

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.