mirror of
https://github.com/go-task/task.git
synced 2025-01-22 05:10:17 +02:00
docs: added reading from stdin section to usage
This commit is contained in:
parent
508ff717c9
commit
98e0cea469
@ -118,6 +118,18 @@ 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:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
task < <(cat ./Taskfile.yml)
|
||||||
|
# OR
|
||||||
|
cat ./Taskfile.yml | task
|
||||||
|
```
|
||||||
|
|
||||||
## Environment variables
|
## Environment variables
|
||||||
|
|
||||||
### Task
|
### Task
|
||||||
|
Loading…
x
Reference in New Issue
Block a user