docs: correct stdin Taskfile command example by SergioChan · Pull Request #2738 · go-task/task
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 811
Merged
vmaerten merged 1 commit intogo-task:mainfrom
Mar 18, 2026Merged
docs: correct stdin Taskfile command example#2738
vmaerten merged 1 commit intogo-task:mainfrom
docs: correct stdin Taskfile command example#2738
vmaerten merged 1 commit intogo-task:mainfrom
Conversation
Copy link Copy Markdown
Contributor
SergioChan
commented
Mar 10, 2026
SergioChan
commented
Summary
- fix the
Reading a Taskfile from stdinguide example that usedtask -t - <(cat ./Taskfile.yml) - replace it with
task -t - < ./Taskfile.yml, which correctly passes stdin to Task when using-t - - keep the existing piped example (
cat ./Taskfile.yml | task -t -) unchanged
Testing
- verified the docs snippet now contains the corrected stdin redirection command:
rg -n "task -t - < ./Taskfile.yml|cat ./Taskfile.yml \| task -t -" website/src/docs/guide.md
- note:
taskCLI is not installed in this runner, so executable command validation was not run locally
Related
Fixes #2610
trulede approved these changes Mar 15, 2026
Copy link Copy Markdown
Contributor
trulede
left a comment
trulede
left a comment
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correction seems reasonable.
Doc change only.
vmaerten approved these changes Mar 18, 2026
Copy link Copy Markdown
Member
vmaerten
left a comment
vmaerten
left a comment
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
vmaerten
enabled auto-merge (squash)
Copilot AI pushed a commit to libor-m/task that referenced this pull request
Mar 27, 2026Co-authored-by: libor-m <1497769+libor-m@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment