1
0
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:
Pete Davison 2024-01-25 14:55:36 +00:00
parent 508ff717c9
commit 98e0cea469

View File

@ -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
### Task