Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CLI tool version #59

Open
PalmDevs opened this issue Nov 13, 2023 · 2 comments
Open

Add CLI tool version #59

PalmDevs opened this issue Nov 13, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@PalmDevs
Copy link

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.

@michaelangeloio
Copy link
Owner

@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
Copy link
Author

PalmDevs commented Dec 14, 2023

@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.

@michaelangeloio michaelangeloio added the enhancement New feature or request label Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants