casey / casey/just

Using recipes with argument and without as a different recipes

Open
#1,545 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
35.8k
Forks
846
Avg merge
27m
Merged PRs (30d)
3

Description

Is it possible to use recipes with argument and without as a different recipes without overriding?
If not i think it would be great idea to make it works

```
recipe:
command

recipe NAME:
another_command {{ NAME }}
```

In my case `command` is a list of some objects and `another_command` is a list of the same objects but with grepping by the NAME.

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named in the issue. Start by reproducing the example and inspecting how recipes with and without arguments are currently parsed and resolved; done means both forms can coexist without one overriding the other, while preserving argument substitution.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.