Author ncoghlan
Recipients bethard, ncoghlan
Date 2012-02-16.23:54:55
SpamBayes Score 0.0171037
Marked as misclassified No
Message-id <1329436498.01.0.722690926384.issue14037@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-02-16 23:54:58ncoghlansetrecipients: + ncoghlan, bethard
2012-02-16 23:54:58ncoghlansetmessageid: <1329436498.01.0.722690926384.issue14037@psf.upfronthosting.co.za>
2012-02-16 23:54:55ncoghlanlinkissue14037 messages
2012-02-16 23:54:55ncoghlancreate