Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Pretty ¶
Pretty prints a short human line to w. Used by individual commands as their pretty-mode summary.
func WriteError ¶
WriteError writes an error envelope to w. Always emits JSON even in pretty mode — easier for LLM callers to diagnose regardless of flag.
func WriteSuccess ¶
WriteSuccess writes a success envelope. When pretty is true, the caller is responsible for having written the human summary first; this function emits nothing in that case to avoid duplicating the payload.
Types ¶
Click to show internal directories.
Click to hide internal directories.