Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow variable replacement on confirm's prompt #1996

Open
marcbria opened this issue Apr 8, 2024 · 0 comments
Open

Allow variable replacement on confirm's prompt #1996

marcbria opened this issue Apr 8, 2024 · 0 comments

Comments

@marcbria
Copy link

marcbria commented Apr 8, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant