mirror of
https://github.com/adrienverge/yamllint.git
synced 2025-02-25 18:55:20 -06: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:
parent
d6b89e94e4
commit
f66661e36d
@ -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):
|
||||
|
||||
::
|
||||
|
Loading…
Reference in New Issue
Block a user