-
Notifications
You must be signed in to change notification settings - Fork 502
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
[Feature] Support wildcard target #1646
Comments
This could be done with an attribute making a recipe a fallback recipe, in case no other recipe matches, which would receive the full command line, including the recipe name, as arguments: [fallback]
foo *args:
{{ args }} It probably shouldn't be called |
I also thought about something like |
I'd love to see this too. My use case for So I've created just files that allow me to type
Then I could just type Also, rather than use a script attribute, the target name could be an asterisk to indicate it was the catch-all definition:
Since |
I recently came across this useful tool and since have been replacing Makefiles in many of my projects with Justfiles. However, there is one make feature that I cannot achieve using make:
In projects that use a containerized dev setup, my last Makefile entry used to be
This allowed to execute convenience functions like
make up
,make down
,make build
,make ps
etc very quickly. When using just, I have to use the following code to achieve the same thing:This way I can still use commands like
just up -d
,just ps
but for commands not specified explicitly I will have to execute e.g.just compose config
.Would it be possible to create a default wildcard option in just to achieve something similar to what is possible using make?
The text was updated successfully, but these errors were encountered: