Editing Yamllint

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  [[brew install yamllint]]
+
  [[brew install]] yamllint
 
  [[yum install yamllint]]
 
  [[yum install yamllint]]
[[pip install yamllint]]
 
  
[[yamllint -h]]
+
<pre>
 +
yamllint
 +
usage: yamllint [-h] [-] [-c CONFIG_FILE | -d CONFIG_DATA]
 +
                [-f {parsable,standard,colored,github,auto}] [-s]
 +
                [--no-warnings] [-v]
 +
                [FILE_OR_DIR ...]
 +
yamllint: error: one of the arguments FILE_OR_DIR - is required
 +
mcebollada@DESKTOP-OVLCHPF ~ % yamllint --help
 +
usage: yamllint [-h] [-] [-c CONFIG_FILE | -d CONFIG_DATA]
 +
                [-f {parsable,standard,colored,github,auto}] [-s]
 +
                [--no-warnings] [-v]
 +
                [FILE_OR_DIR ...]
  
 +
A linter for YAML files. yamllint does not only check for syntax validity, but
 +
for weirdnesses like key repetition and cosmetic problems such as lines
 +
length, trailing spaces, indentation, etc.
  
[[Error converting YAML to JSON: yaml]]
+
positional arguments:
[[helm upgrade]]
+
  FILE_OR_DIR          files to check
  
 +
options:
 +
  -h, --help            show this help message and exit
 +
  -                    read from standard input
 +
  -c CONFIG_FILE, --config-file CONFIG_FILE
 +
                        path to a custom configuration
 +
  -d CONFIG_DATA, --config-data CONFIG_DATA
 +
                        custom configuration (as YAML source)
 +
  -f {parsable,standard,colored,github,auto}, --format {parsable,standard,colored,github,auto}
 +
                        format for parsing output
 +
  -s, --strict          return non-zero exit code on warnings as well as
 +
                        errors
 +
  --no-warnings        output only error level problems
 +
  -v, --version        show program's version number and exit
 +
</pre>
  
 
== See also ==
 
== See also ==
 
* {{YAML}}
 
* {{YAML}}
 
[[Category:YAML]]
 

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Templates used on this page:

Advertising: