docs(cli): Add a paragraph about standard input

See commit 05dfcbc "cli: Add command line option - to read from standard
input", cc @miguelbarao.
pull/167/head
Adrien Vergé 6 years ago
parent d6b89e94e4
commit f66661e36d

@ -50,6 +50,12 @@ You can also lint all YAML files in a whole directory:
yamllint . 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): The output will look like (colors are not displayed here):
:: ::

Loading…
Cancel
Save