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

Depends on option #3

Open
lassejlv opened this issue Jan 17, 2025 · 0 comments
Open

Depends on option #3

lassejlv opened this issue Jan 17, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@lassejlv
Copy link
Owner

So you could have an option in commands. So you can say “depends_on = ”. So it will only be ran if that command was a success.

Full example:

hello_world =  echo "Hello World"
hello_mom = echo "Hello Mom, i love you!" {{ depends_on = "hello_world" }}
@lassejlv lassejlv assigned lassejlv and unassigned lassejlv Jan 17, 2025
@lassejlv lassejlv added the enhancement New feature or request label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant