CmdID

CmdID / Commands

yamllint

A linter for YAML files. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Lint a file

yamllint path/to/file.yamlIdentify

Lint all YAML files in a directory recursively

yamllint path/to/directoryIdentify

Lint a file with a specific config file

yamllint --config-file path/to/config.yaml path/to/file.yamlIdentify

Lint a file using a preset config (default or relaxed)

yamllint --config-data "extends: relaxed" path/to/file.yamlIdentify

Output in a parsable format (for CI integration)

yamllint --format parsable path/to/file.yamlIdentify

Lint a file with strict mode (return 2 for warnings)

yamllint --strict path/to/file.yamlIdentify

Read from stdin

cat path/to/file.yaml | yamllint -Identify

Display help

yamllint --helpIdentify