I'm writing a CLI using the beautiful click library
the use case i want to implement is something like this:
cmd <arg> <option --list>
arg: required
--list: optional
rationale
But... the --list
show only the available arg
so my purpose is to make all arguments optional in this use case.
I'm started from this request on the official repo, and a previous similar question very similar but it works only on Options.
I've not found an elegant solution because Arguments works differently, In my real case I have a lot of arguments and options, so is not possible to reduce all Arguments into Options.