File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 88 (#1415 , #1547 by @pd93 ).
99- Refactored how Task reads, parses and merges Taskfiles using a DAG (#1563 ,
1010 #1607 by @pd93 ).
11+ - Fix a bug which stopped tasks from using ` stdin ` as input (#1593 , #1623 by
12+ @pd03 ).
1113- Fix error when a file or directory in the project contained a special char
1214 like ` & ` , ` ( ` or ` ) ` (#1551 , #1584 by @andreynering ).
1315- Added alias ` q ` for template function ` shellQuote ` (#1601 , #1603 by @vergenzt )
Original file line number Diff line number Diff line change @@ -121,13 +121,14 @@ tasks:
121121# ## Reading a Taskfile from stdin
122122
123123Taskfile also supports reading from stdin. This is useful if you are generating
124- Taskfiles dynamically and don't want write them to disk. This works just like
125- any other program that supports stdin. For example :
124+ Taskfiles dynamically and don't want write them to disk. To tell task to read
125+ from stdin, you must specify the `-t/--taskfile` flag with the special `-`
126+ value. You may then pipe into Task as you would any other program :
126127
127128` ` ` shell
128- task < <(cat ./Taskfile.yml)
129+ task -t - <(cat ./Taskfile.yml)
129130# OR
130- cat ./Taskfile.yml | task
131+ cat ./Taskfile.yml | task -t -
131132` ` `
132133
133134# # Environment variables
You can’t perform that action at this time.
0 commit comments