Message153517
I realised that my initial idea doesn't play nicely with my other suggestion of allowing a "metavar" argument to add_subparsers() (see #14039).
A better model may be to mimic the add_argument_group() directly by offering an add_parser_group() method on the subparser management object.
This would allow ungrouped commands to be presented first, with grouped commands following under their own headings. |
|
Date |
User |
Action |
Args |
2012-02-16 23:54:58 | ncoghlan | set | recipients:
+ ncoghlan, bethard |
2012-02-16 23:54:58 | ncoghlan | set | messageid: <1329436498.01.0.722690926384.issue14037@psf.upfronthosting.co.za> |
2012-02-16 23:54:55 | ncoghlan | link | issue14037 messages |
2012-02-16 23:54:55 | ncoghlan | create | |
|