commandline arguments shadow tool arguments when using shims #4500
Unanswered
betaboon
asked this question in
Troubleshooting and bug reports
Replies: 2 comments
-
i just noticed this happens only for so in my above example, this breaks as described above: this does not break: |
Beta Was this translation helpful? Give feedback.
0 replies
-
this code seems suspect but I also don't see it consuming the arg anywhere: Lines 423 to 447 in bf251bd |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
problem description
I'm using shims and configuration-environments.
I declare the tool
aws-cli
in a configuration-environmentfoo
and configure its use viaexport MISE_ENV=foo
.The tool works as long as i don't provide the commandline argument
--profile
.Once i provide
--profile
, mise complains aboutNo version is set for shim: aws
.I think the
--profile
commandline-argument is being consumed by mise, instead of being passed toaws
.I'm assuming this happens, because
--profile
is mises old way to provide the--env
, which seems to still be available.observed behavior
output of
mise doctor
Beta Was this translation helpful? Give feedback.
All reactions