A command line tool for testing HTML5 validity.

# To validate a specific file:
html5validator <path/to/file>

# To validate all HTML files in a specific directory:
html5validator --root <path/to/directory>

# To show warnings as well as errors:
html5validator --show-warnings <path/to/file>

# To match multiple files using a glob pattern:
html5validator --root <path/to/directory> --match "*.html *.php"

# To ignore specific directory names:
html5validator --root <path/to/directory> --blacklist "node_modules vendor"

# To output the results in a specific format:
html5validator --format <gnu|xml|json|text> <path/to/file>

# To output the log at a specific verbosity level:
html5validator --root <path/to/directory> --log <debug|info|warning>