With ArgParse.jl, how can I parse key word arguments like --myoption 1
while ignoring all positional arguments, when the number of position argument is not fixed, i.e. “vararg”?
Simpler question: does ArgParse.jl (or a similar package) have support for variable numbers of cmd arguments?
I would be surprised if ArgParse.jl
would not support this (but I never used it either …)
Anyways, did you have a look at their documentation?
In particular this section here speaks about the nargs
options: Argument table · ArgParse.jl