Skip to content

Commit 389ca7c

Browse files
authored
docs: include cli example (#617)
1 parent 0f29ce6 commit 389ca7c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/09_cli.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# Command-line Tool
22

3+
```sh
4+
npx yaml valid < file.yaml
5+
```
6+
37
Available as `npx yaml` or `npm exec yaml`:
48

5-
<pre id="cli-help" style="float: none">
9+
<pre id="cli-help" style="float: none; clear: none">
610
yaml: A command-line YAML processor and inspector
711

812
Reads stdin and writes output to stdout and errors & warnings to stderr.

0 commit comments

Comments
 (0)