Closed NikolayXHD closed 8 months ago
Btw the problem only shows up while building help, actually running the program works as intended:
master[1] ~/g/sandbox> python -m test --effort 1
effort=1
master ~/g/sandbox> python -m test
effort=None
Thanks for this! (And the PR). I'll pick it up today
Hi @sander76, I'am trying clipstick for the first time. Love the feeling, elegant & minimal. I take my 🎩 off!
The issue I am facing, I don't recall seeing in the docs, how do I handle the optional argument if the default value is
None
.With good old argparse I'd write
effective type of
args.effort
would be int | NoneWith
clipstick
I doParsing fails with following output