Closed Jaymon closed 1 year ago
basically, passing in:
@arg( "--discard-foo", action="store_false", help="Pass this flag to discard foo" )
Would be equivalent to this:
@arg( "--discard-foo", default=True, const=False, action="store_const", help="Pass this flag to discard foo" )
https://docs.python.org/3/library/argparse.html#action
basically, passing in:
Would be equivalent to this: