Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleExecuteError ¶ added in v0.60.7
HandleExecuteError handles an error returned by RootCmd, returning the desired exit code. It contains user-friendly handling for common errors. NOTE (2025-03-27): This is a workaround for Cobra not supporting custom logic for printing the error from RunE.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.