Yamlfix is a YAML formatter.
- Linux or macOS
- Python 3.6 or newer
./install.sh
./run.sh
usage: yamlfix [-h] [-c] [-v | -l LOG_LEVEL] [path [path ...]]
Format YAML files
positional arguments:
path Path to file or folder to format
optional arguments:
-h, --help show this help message and exit
-c, --check Do not reformat files, only check need for
reformatting. Returns an error code if a file needs to
be reformatted.
-v, --verbose Enable debug logging
-l LOG_LEVEL, --log_level LOG_LEVEL
Enable a specific level of logging (1: DEBUG, 5:
CRITICAL, default: INFO)
./check.sh