mirror of
https://github.com/adrienverge/yamllint.git
synced 2026-10-13 16:31:58 -05:00
docs(cli): Add a paragraph about standard input
See commit 05dfcbc "cli: Add command line option - to read from standard
input", cc @miguelbarao.
This commit is contained in:
1 parent
d6b89e94e4
commit
f66661e36d
1 file changed
+6
@@ -50,6 +50,12 @@ You can also lint all YAML files in a whole directory:
|
||||
|
||||
yamllint .
|
||||
|
||||
Or lint a YAML stream from standard input:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
echo -e 'this: is\nvalid: YAML' | yamllint -
|
||||
|
||||
The output will look like (colors are not displayed here):
|
||||
|
||||
::
|
||||
|
||||
Reference in new issue
Block a user