html-validator-cli icon indicating copy to clipboard operation
html-validator-cli copied to clipboard

Does this CLI support offline validation?

Open frou opened this issue 4 years ago • 2 comments

Looking at the README for the underlying library html-validator, that mentions offline validation (called WHATWG?), but does this CLI support that?

I tried

$ html-validator --validator WHATWG --file path/to/x.html

but it doesn't like that:

Error: Invalid URI "WHATWG"

frou avatar Nov 06 '21 14:11 frou

The cli is lagging a bit behind the library I'm afraid. One of the reasons are the use of the other validator you try to use here. I have not got the time to do the testing required.

The usually story of real life and open source on the side I guess 🤷🏻 PRs are welcome though :-)

zrrrzzt avatar Nov 07 '21 07:11 zrrrzzt

No worries, thanks for the the response

frou avatar Nov 07 '21 09:11 frou