lebrice / SimpleParsing

Simple, Elegant, Typed Argument Parsing with argparse
MIT License
401 stars 50 forks source link

Add Optional Subparsers #104

Closed lebrice closed 2 years ago

lebrice commented 2 years ago

Adds optional subparsers, by either passing a default or default_factory to the subparsers function, or by setting a default value on the field.