Port cfg to argparse
Registered by
Mark McLoughlin
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:
-
2013.1
- Started by
- Mark McLoughlin
- Completed by
- Mark McLoughlin
Related branches
Related bugs
Sprints
Whiteboard
Under review here - https:/
(?)
Work Items
Dependency tree

* Blueprints in grey have been implemented.