Replies: 1 comment
-
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to have named arguments on recipes that fall back to a default value with the last argument being a variadic argument - like this:
However I cannot find an approach for this in the docs. The closest I have come was to use arguments with conditional expressions - however the variadic argument supersedes the recipe argument.
But that results in
EDIT:
Env Vars
I can use environment variables:
but I'd like to be able to list them as part of
just -l
so they are discoverable and autocompletion could work, however env vars don't workSuggestion
Ideally I'd be able to use optional named recipie arguments along with variadic arguments so they can be listed with
just -l
and ignored if omitted.This isn't valid just config but like this:
Where I could invoke it with
Beta Was this translation helpful? Give feedback.
All reactions