Skip to content

Commit

Permalink
docs: added reading from stdin section to usage
Browse files Browse the repository at this point in the history
  • Loading branch information
pd93 committed Feb 19, 2024
1 parent a62669f commit 3df49ab
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3df49ab

Please sign in to comment.