diagnostic icon indicating copy to clipboard operation
diagnostic copied to clipboard

`diagnostic` makes it easier to build command line tools with great error reporting.

diagnostic

diagnostic makes it easier to build command line tools with great error reporting.

demo screenshot showing an error message with a header, a message, and a list of errors

demo screenshot showing an error message with a header, a message, and a list of errors

Features

  • Unique codes on every Diagnostic
  • Tooling to help ensure all codes in the codebase are documented
  • Fancy graphical output, built on top of rich, with graceful fallbacks to ASCII and plain strings
  • Present a causal chain if needed

Documentation

See the documentation for more information.

License

This project is licensed under the terms of the MIT license.