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

Error messages #6

Open
tertsdiepraam opened this issue Dec 15, 2022 · 0 comments
Open

Error messages #6

tertsdiepraam opened this issue Dec 15, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@tertsdiepraam
Copy link
Member

tertsdiepraam commented Dec 15, 2022

The error messages should have a nice format and provide useful information. They should also include some suggestions, for example, "--revrse does not exist did you mean --reverse?"

The general format can be much like clap's current output. It might be nice to provide an option for terser messages, but until there's a demand for that, I don't have a use case for that.

Ideally, we would support a full miette style, where you get to see the command with the part where the error occured highlighted, but that's out of scope for this issue.

@tertsdiepraam tertsdiepraam changed the title Error message Error messages Dec 15, 2022
@tertsdiepraam tertsdiepraam added the enhancement New feature or request label Dec 15, 2022
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

1 participant