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

centralise warnings & error output #71

Open
backwardspy opened this issue Feb 20, 2025 · 1 comment
Open

centralise warnings & error output #71

backwardspy opened this issue Feb 20, 2025 · 1 comment

Comments

@backwardspy
Copy link
Member

we just eprintln error: and warning: messages all over the place at the moment. might be nice to collect these up in some standard way so they can be emitted from one place, perhaps with some exit code logic tied to it as well.

would also be a good opportunity to throw a splash of colour onto the output.

@uncenter
Copy link
Member

I'm a big fan of https://docs.rs/miette/latest/miette/, we could use that there. Looks pretty and colorful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants