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 Jan 25, 2024
1 parent 1ad49ce commit 5cfdce1
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 5cfdce1

Please sign in to comment.