Should not need to name (last) argument when positional-arguments is true
- Dominant language
- Rust
- Stars
- 35.8k
- Forks
- 846
- Avg merge
- 27m
- Merged PRs (30d)
- 3
Description
Example:
```
echo *ARGS:
#!/usr/bin/env bash
echo "$@"
```
Since ARGS is never referenced in body of recipe, I should be able to simply state:
```
echo *:
#!/usr/bin/env bash
echo "$@"
```
I find that I use positional-arguments extensively as I have fewer issues with arguments containing spaces.
`just` is a great tool, by the way. Thanks for all the work.
Contributor guide
Research direction
No files or tests are named in the issue. Start by locating the positional-arguments parsing and its tests, then compare the existing `*ARGS:` recipe syntax with the proposed `*:` form. Done means accepting the unnamed form when positional arguments are enabled while retaining the shown `$@` behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100