hint icon indicating copy to clipboard operation
hint copied to clipboard

[Docs Bug] Describe return values of CLI

Open masi opened this issue 4 years ago • 2 comments

Especially in a CI context it is important to know the different (if any) return values for a run of webhint.

The docs say nothing about the them.

masi avatar Mar 08 '21 20:03 masi

Thanks @masi,

In what page would you expect this return codes to appear?

IIRC, currently it's 0 for success and any other number for failure.

molant avatar Mar 08 '21 21:03 molant

I'd appreciate a dedicated CLI page in the docs. None of the pages within the user guide seem a good place for me. But I expected information on return values in the CI sections. The reason is that I wanted to know how to find out if a step using webhint has failed.

BTW, currently the documentation starts surprisingly with the most invloved topic the API. Only now I realied that it order alphabetically.

masi avatar Mar 09 '21 09:03 masi