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

Make it possible to call another grml command #5

Closed
skaldesh opened this issue Oct 18, 2021 · 1 comment
Closed

Make it possible to call another grml command #5

skaldesh opened this issue Oct 18, 2021 · 1 comment

Comments

@skaldesh
Copy link
Member

I have the use case right now that I would like to execute another grml command (e.g. grml.train.clear), if in my current command (e.g. grml.train) a certain condition is true. So I want to run that conditionally.

Maybe it would be cool, if we could write:

exec: |
   ...
   if [ some-condition ]; then
      grml.train.clear
   fi
@skaldesh
Copy link
Member Author

This is already possible with grml -D ${ROOT} cmd

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