Author porton
Recipients porton
Date 2018-12-13.01:44:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Subparsers are added like:

subparsers.add_parser('checkout', aliases=['co'])

But I want to use a parser BOTH as a subparser and as a full-fledged parser.

It is because my program should understand both of the following command line options:

boiler chain -t -W inverseofsum


boiler pipe 'chain -t -W inverseofsum + transformation'.

I split it (at +) into several lists of arguments as explained in

So I need `chain` both as a subparser and as a standalone parser of `-t -W inverseofsum`.

So, feature which I want:

subparsers.add_parser('checkout', aliases=['co'], parser=...)

where ... is a reference to a parser object.
Date User Action Args
2018-12-13 01:44:37portonsetrecipients: + porton
2018-12-13 01:44:37portonsetmessageid: <>
2018-12-13 01:44:37portonlinkissue35480 messages
2018-12-13 01:44:37portoncreate