Add all arguments directly to the parser
(parser, argument_signatures)
| 229 | # functions for adding optional arguments |
| 230 | # --------------------------------------- |
| 231 | def no_groups(parser, argument_signatures): |
| 232 | """Add all arguments directly to the parser""" |
| 233 | for sig in argument_signatures: |
| 234 | parser.add_argument(*sig.args, **sig.kwargs) |
| 235 | |
| 236 | def one_group(parser, argument_signatures): |
| 237 | """Add all arguments under a single group in the parser""" |
nothing calls this directly
no test coverage detected