Completion and Parsing Issues with mise file tasks (var=#true
)
#4236
Unanswered
sassdavid
asked this question in
Troubleshooting and bug reports
Replies: 1 comment 2 replies
-
The Lines 149 to 196 in 31bd9ba
It seems that using |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Recently, I started using
mise
file tasks more extensively with theusage
specification. However, I have encountered some issues with task completion and general behavior. These might not be actual issues but rather a lack of knowledge or information about the intended usage.Let’s assume we have the following task named
demo
:For the
foo
flag, I want to usevar=#true
and pass multiple values.Issues:
If I attempt to use the
quiet
setting, it doesn’t seem to work. I tried the following variations without success:-f --foo
The following behaviors were observed for the
-f --foo
flag:Additionally, completion for
-f --foo
doesn’t work in certain cases:-b --bar
For the
-b --bar
flag, the behavior is as follows:Completion also has issues with
-b --bar
, but only after--
. Without--
, the completion works as expected (for-f --foo
as well):Analysis
It seems that the
var=#true
setting might influence the behavior. However, I am not sure if this is a bug in theusage
library or if it is the intended behavior.Could you please help me understand these behaviors? Are these bugs in
usage
, or is this the expected behavior? Any guidance would be greatly appreciated.Thank you in advance for your help!
mise
version: 2025.1.14 linux-x64 (daa75da 2025-01-24)usage
version: usage-cli 2.0.3Beta Was this translation helpful? Give feedback.
All reactions