mirror of
https://github.com/go-task/task.git
synced 2025-03-05 15:05:42 +02:00
chore: changelog and docs for #1623
This commit is contained in:
parent
651033c5a7
commit
7fa06eedf4
@ -8,6 +8,8 @@
|
||||
(#1415, #1547 by @pd93).
|
||||
- Refactored how Task reads, parses and merges Taskfiles using a DAG (#1563,
|
||||
#1607 by @pd93).
|
||||
- Fix a bug which stopped tasks from using `stdin` as input (#1593, #1623 by
|
||||
@pd03).
|
||||
- Fix error when a file or directory in the project contained a special char
|
||||
like `&`, `(` or `)` (#1551, #1584 by @andreynering).
|
||||
- Added alias `q` for template function `shellQuote` (#1601, #1603 by @vergenzt)
|
||||
|
@ -121,13 +121,14 @@ tasks:
|
||||
### Reading a Taskfile from stdin
|
||||
|
||||
Taskfile also supports reading from stdin. This is useful if you are generating
|
||||
Taskfiles dynamically and don't want write them to disk. This works just like
|
||||
any other program that supports stdin. For example:
|
||||
Taskfiles dynamically and don't want write them to disk. To tell task to read
|
||||
from stdin, you must specify the `-t/--taskfile` flag with the special `-`
|
||||
value. You may then pipe into Task as you would any other program:
|
||||
|
||||
```shell
|
||||
task < <(cat ./Taskfile.yml)
|
||||
task -t - <(cat ./Taskfile.yml)
|
||||
# OR
|
||||
cat ./Taskfile.yml | task
|
||||
cat ./Taskfile.yml | task -t -
|
||||
```
|
||||
|
||||
## Environment variables
|
||||
|
Loading…
x
Reference in New Issue
Block a user