Commit f6a97d0

Anton Medvedev <anton@medv.io>
2021-08-19 22:32:28
Add docs about executing scripts from stdin
1 parent 27e50bc
Changed files (1)
README.md
@@ -392,6 +392,16 @@ zx https://medv.io/example-script.mjs
 zx https://medv.io/game-of-life.mjs
 ```
 
+#### Executing scripts from STDIN
+
+The `zx` supports executing scripts from STDIN.
+
+```js
+zx <<'EOF'
+await $`pwd`
+EOF
+```
+
 ## License
 
 [Apache-2.0](LICENSE)