Documentation ¶ Overview ¶ Package cliout contains shared CLI output helpers used by built-in plugins. Index ¶ func WriteJSON(w io.Writer, v any) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func WriteJSON ¶ func WriteJSON(w io.Writer, v any) error WriteJSON writes v to w as pretty-printed JSON with 2-space indentation. Used by plugin output renderers (cost/policy/tfupdate) to emit structured command output when --output=json is set. Types ¶ This section is empty. Source Files ¶ View all Source files cliout.go Click to show internal directories. Click to hide internal directories.