-
Notifications
You must be signed in to change notification settings - Fork 514
New issue
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
completions and modules don't work together #1807
Comments
Yah, this is definitely annoying. I would have actually liked to have different recipes be tab separated in the output of
I'm not opposed to adding |
Another thing that the completion scripts could do is split on |
Differentiating between spaces and tabs in completion results sounds messy to me, and like you said, probably backwards-incompatible. Developers tend to be used to the concept of namespace separators, and In the past I've wanted to use Unfortunately if invoking module recipes by Not sure what's best either way, so just sharing my thoughts. |
Not sure if that'd be something worth doing as (at least with bash) it's not the completion script's job to split up the input: https://www.gnu.org/software/bash/manual/html_node/Bash-Variables.html#index-COMP_005fWORDS It does mention |
I'd definitely allow both
Ahh, good catch. So I guess separating by tabs wouldn't work anyway. |
Fixed in #1809, recipes can now be invoked on the command line with path syntax, i.e., |
Nice. Thanks. |
The completions script uses
just --summary
to fetch a list of recipes. A recipebar
inside modulefoo
is listed asfoo::bar
, however module recipes can't be invoked like this ("Justfile does not contain recipefoo::bar
").I'm not sure the best solution although I do personally find
foo::bar
easier syntax to read asfoo bar
in my mind looks like a recipefoo
that takes a parameterbar
.I wonder whether
foo::bar
should be added as additional valid syntax to run a module's recipe?The text was updated successfully, but these errors were encountered: