Open Derf000 opened 1 year ago
Hello!
For positional parameters, I think the one way to pass along negative numbers would be to use the --
argument. After --
, Clize and other parsers no longer treat -
as a special character:
> python cli.py -- -10.0
If arg
was an option rather than a positional argument, Clize would also pick it up because it occurs in a spot where it is not expecting an option:
def cli_main(*, arg: float, debug: 'd' = false):
...
> python cli.py --arg -10.0
Hi, is there any way to set negative number as argument ?