Jaymon/captain

store_false action

Jaymon opened this issue · 1 comments

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"
    )