Skip to content

Commit

Permalink
chore: add more detail to README usage
Browse files Browse the repository at this point in the history
  • Loading branch information
nilslice authored Jan 18, 2024
1 parent e3b17bb commit 6072214
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ Within the `steps` key, you write the pipeline. This must be a line-delimited, "

```yaml
with:
wasi: true # enable WASI access to all plugins
input: '{"some": "data"}' # or `$(cat file.data)` etc. to be used as input to first plugin
output_type: text # or `bytes` used to tell the runner how to encode the final plugin's output
steps: |-
this is plugin 1 | https://.../plugin.wasm
this is plugin 2 | ./path/to/local.wasm | override_function_name_to_call
Expand Down

0 comments on commit 6072214

Please sign in to comment.