We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
In the docs, it's stated that a prompt can be skipped with --yes. Is this also possible when calling another task with task: taskname? If yes, how?
prompt
--yes
task: taskname
3.43.3
macOS
No response
# https://taskfile.dev version: '3' tasks: foo: cmds: - for: var: CLI_ARGS task: bar vars: CLI_ARGS: '{{ .ITEM }}' bar: internal: true prompt: Are you sure? cmds: - echo 'Hello world' vars: CLI_ARGS: '{{ .CLI_ARGS }}'
The text was updated successfully, but these errors were encountered:
Hello ! You can skip all prompts with --yes (-y), but you cannot skip only a specific prompt when calling another task.
In our example you can do this :
task foo -y -- args Are you sure? [assuming yes] task: [bar] echo 'Hello world' Hello world
Sorry, something went wrong.
No branches or pull requests
Description
In the docs, it's stated that a
prompt
can be skipped with--yes
.Is this also possible when calling another task with
task: taskname
?If yes, how?
Version
3.43.3
Operating system
macOS
Experiments Enabled
No response
Example Taskfile
The text was updated successfully, but these errors were encountered: