Author paul.j3
Recipients John.Didion, bethard, manveru, paul.j3, xuanji
Date 2014-09-06.02:58:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Attached is a patch for 3.5.0 dev that adds UsageGroups.  Now different 'kinds' are implemented as subclasses, which are accessed via the registry:

     _XorUsageGroup - replicate action of MutuallyExclusiveGroups
     _AndUsageGroup - an inclusive group
     _OrUsageGroup -  an 'any' group
     _NorUsageGroup - NotOr - also works as Not
     _NandUsageGroup - NotAnd

Open issues:

    - what difference should the 'required' parameter make?
    - how should 'errors' in nested groups propagate?
    - formatting of error messages
    - formatting the usage line with these groups
    - any additional 'help' display
    - framework for custom test and/or subclasses
    - documentation, sample scripts, and formal testing
Date User Action Args
2014-09-06 02:58:27paul.j3setrecipients: + paul.j3, bethard, xuanji, John.Didion, manveru
2014-09-06 02:58:27paul.j3setmessageid: <>
2014-09-06 02:58:26paul.j3linkissue11588 messages
2014-09-06 02:58:26paul.j3create