casey / just

🤖 Just a command runner
https://just.systems
Creative Commons Zero v1.0 Universal
17.59k stars 399 forks source link

Allow variable replacement on confirm's prompt #1996

Open marcbria opened 1 month ago

marcbria commented 1 month ago

New [confirm(prompt)] feature is great but is not able to replace the variables of the recipes.

If you try something like this:

[confirm("Are you sure you like to create [{{ site }}]?")]
create site:
    echo Site: {{ site }}

You will notice that site variable won't be replaced in prompt and text will be shown "as is".

Not sure if this is a bug or a feature request. ;-)

Anyway, thanks A LOT for the this wonderful piece of software.

Cheers, m.