Add flag to skip reading arguments.
- Dominant language
- Rust
- Stars
- 35.8k
- Forks
- 846
- Avg merge
- 27m
- Merged PRs (30d)
- 3
Description
A common use case is creating a recipe that can take options with defaults. For example
```make
test *files=tests:
pytest {{ files }}
lint *files="src tests"
ruff check {{ files }}
```
This allows for fine tuning the files passed to `test` and `lint`. But in many cases, the defaults are what you really want (in ci for example). As defined, we can't run
```bash
just test lint
```
as `test` will swallow `lint` as an argument. '
It would be awesome if there was a flag like `--no-args` to say no arguments are allowed, only recipes. Then you could run
```bash
just --no-args test lint
```
instead of something like
```bash
just test && just lint
```
This is kind of the inverse of the `--one` options.
My apologies if this has already been requested, and thank you for the excellent tool!
Contributor guide
Assessment
This issue has not been assessed yet.