reverse_argparse icon indicating copy to clipboard operation
reverse_argparse copied to clipboard

Investigate subparsers with no arguments

Open jmgate opened this issue 2 years ago • 0 comments
trafficstars

Description

I suspect we may have a bug in that reverse_argparse likely doesn't correctly handle the case of a subparser with no argument, e.g., when the subcommand is simply mapped to a function. Need to

  • [ ] Develop one or more test cases to prove the point.
  • [ ] Fix the unparsing of nested parsers for such situations.

jmgate avatar Jul 10 '23 22:07 jmgate