hint icon indicating copy to clipboard operation
hint copied to clipboard

[Feature] Different CLI exit codes depeneding on results

Open masi opened this issue 4 years ago • 0 comments

🚀 Feature request

Description

Webhint exits with 1 if at least one hint with serverity "error" is found, 2 if at least one hint with serverity "warning" is found etc. In case of a failure it exits with 99.

What scenarios will this solve?

It allows a script to decide what to do next depending on the result of the run.

masi avatar Mar 10 '21 20:03 masi