Skip to content

xavierhardy/yamlfix

Repository files navigation

Yamlfix

Yamlfix is a YAML formatter.

Prerequisites

Installation

./install.sh

Usage

./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)

Tests and linting

./check.sh

About

Format YAML files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published