Oslo - a Library of Common OpenStack Code

Port cfg to argparse

Registered by Mark McLoughlin on 2012-11-06

The cfg API is currently based on optparse which has been deprecated in favour of argparse.

We should switch to argparse, hopefully without needing to change the API too radically.

With argparse supported added, we can also consider exposing some argparse APIs through the cfg API - for example, we could add a add_subparsers() method which would allow cfg API users to parse sub-commands using argparse.

Blueprint information

Status:
Complete
Approver:
Mark McLoughlin
Priority:
Essential
Drafter:
Laurence Miao
Direction:
Approved
Assignee:
Laurence Miao
Definition:
Approved
Series goal:
Accepted for grizzly
Implementation:
Implemented
Milestone target:
milestone icon 2013.1
Started by
Mark McLoughlin on 2012-11-06
Completed by
Mark McLoughlin on 2012-11-20

Related branches

Sprints

Whiteboard

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.