We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
:babashka.cli/opts-by-cmds
dispatch
:restrict true
Reproducing example for babashka/cli v0.8.59:
babashka/cli
(cli/dispatch [{:cmds ["foo"] :fn identity :spec {:x {:coerce :boolean}}}] ["foo"] {:restrict true}) ; => ExceptionInfo: Unknown option: :babashka.cli/opts-by-cmds
It seems like the special key :babashka.cli/opts-by-cmds is added to the config, and :restrict true then complains that this is not defined.
The text was updated successfully, but these errors were encountered:
Hmm, this is indeed a silly bug, thanks for posting.
Sorry, something went wrong.
Fix #98: internal options should not interfere with :restrict
aa7f5bc
4c76124
@ferdinand-beyer Do you need a new release or can you test/use as a git dep for now?
I have a workaround for this and can wait for a release whenever it makes sense!
No branches or pull requests
Reproducing example for
babashka/cli
v0.8.59:It seems like the special key
:babashka.cli/opts-by-cmds
is added to the config, and:restrict true
then complains that this is not defined.The text was updated successfully, but these errors were encountered: