Skip to content

Version 0.2.0

Latest
Compare
Choose a tag to compare
@Mr0grog Mr0grog released this 03 May 20:37
· 6 commits to master since this release
v0.2.0
c089cf1

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.