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:
@@ -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