container-job-runner / cjr

container job runner - a cli for developing scientific codes in containers and running containerized jobs on local and remote resources.
Apache License 2.0
3 stars 1 forks source link

Oclif Multiple Flags Bug #43

Open buvoli opened 4 years ago

buvoli commented 4 years ago

Oclif does not properly parse flags with multiple = true and args, unless flags are after args. The command $ command --flag=value arg will always be produce flag = ["value", "arg"]. This forces the user to always place flags with multiple at the end of the command after all the required args $ command arg --flag=value

See: https://github.com/oclif/parser/pull/25 https://github.com/oclif/parser/pull/25/files

buvoli commented 4 years ago

This issue will be fixed once https://github.com/oclif/parser/pull/79 is approved.