Add shebang recipe interpolation docs

Open Beginner friendly
#3,292 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Quiet
Tech stack
shell
Domain
cli, documentation

Research direction

Start with the Shebang Recipes documentation and the README, which the issue identifies as the relevant contribution context. Add a documented example showing interpolation in a shebang recipe, and consider the surrounding explanation complete when users can tell that {{name}} is supported there.

Written by the indexing model from the issue text.

Description

A recipe like the following is valid as far as I can tell:

greet name:
   #!/usr/bin/env sh
   echo "Hello, {{name}}!"

However, the Shebang Recipes doc does not mention this so it's difficult for users to discern what's possible.

I would happily open a PR but I see that the README now says contributions are not accepted :/

Dominant language
Rust
Stars
35.9k
Forks
846
Avg merge
27m
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from casey/just

All issues in casey/just

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.