Version 0.2.0
This is a minor version change because the supported CLI options have been drastically improved!
-
Clarify messaging on under-indented lines and explain how much they should be indented.
-
Support specifying multiple paths, directories, and globs on the CLI. For example:
# Check a directory and all its subfolders. In this case, only files # matching *.yaml, *.yml, and *.md will be checked. > yaml-doctor path/to/directory # Check files matching a glob pattern > yaml-doctor configuration/*.config # Check a list of different files, directories, and globs. > yaml-doctor this/file.yaml that/file.yaml some/directory/*.yaml
Globs not processed by your shell are processed with the
glob
package. Check its documentation for complex patterns you can use. -
Add
--version
CLI option.