use bool switch, not value
Closed this issue · 2 comments
ptrebert commented
For True/False CLI switches, this is the way to do it:
parser.add_argument(
"--some-switch",
"-s",
action="store_true",
default=False,
dest="some_switch",
help="This switches something on or off"
)
svenbioinf commented
Ofc I can change it according to your suggestion. Do you mind giving me more details on what advantages/disadvantages my solution has compared to yours?
svenwillger commented
Implemented