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

Add new flag 'shell' which outputs shell commands from a task #1135

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

the-kaustubh
Copy link

The PR adds new flag --shell to the task command which works similar to dry run flag. It outputs raw shell command corresponding to the task without executing it.

Commit 2231021 also adds the same functionality to the pre-condition checks.

This PR addresses #701 Linting of commands

@q0rban
Copy link
Contributor

q0rban commented Jun 17, 2024

For the purposes of passing to another linter, such as shellcheck, would this need to do some preprocessing of template variables?

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

Successfully merging this pull request may close these issues.

2 participants