Add CLI tool version
PalmDevs opened this issue · comments
Hi there, this project is really neat for catching errors beforehand. But it seems that it's currently limited to specific code editors.
I use Git hooks to lint my commits, so an addition of a CLI tool would be great. This will also open a door for unsupported tools.
@PalmDevs hey!
would like to get more input on what you image the CLI would look like? Would it show all the errors via stdout
? Would it give a summary? Want to get your thoughts
@PalmDevs hey!
would like to get more input on what you image the CLI would look like? Would it show all the errors via
stdout
? Would it give a summary? Want to get your thoughts
Hello! I think having the CLI only showing errors would be nice.
I can imagine doing something like npx does-it-throw
and it'd just check for you, then it prints out errors (in stderr
and exits with a non-zero code) if an error is found, in a similar format to when you get type errors using the TypeScript compiler (tsc
).
A summary would be a nice feature too, but I'd personally put that under a sub-command/argument, since you usually don't want anything printing out when everything is successful.