introduce cliff to the python-barbicanclient
Introduce cliff as a cli framework for python-
promote usage of common OpenStack libraries.
Problem Description
===================
Currently the barbican cli utilities (such as the migration script and even
the python-
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
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Introduce cliff for cli framework