Expand description
Error display and remediation hints for CLI output.
Colors errors red and hints dimmed when stderr is a TTY. Falls back to plain text when piped.
Functions§
- details_
hint - Where to learn more about a partial failure, such as a section that
could not be fetched. In the TUI (
tui), where-vhas no effect, it names the TUI’s help. - display_
error - Displays an error with a remediation hint when available.
- error_
suggestion - Returns a user-facing suggestion for common error types. In the TUI
(
tui) the suggestions name TUI commands, not CLI flags.