mirror of
https://github.com/go-task/task.git
synced 2026-06-24 05:05:49 +00:00
docs: added reading from stdin section to usage
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user