Expand description
Structured command output and its terminal/JSON rendering.
CommandResult wraps a command’s typed payload with an ArtifactType
and optional RenderingHints, decoupling what a command produces from how
it is displayed. render_result dispatches on the active output format
(table, JSON, YAML). The reusable payload shapes TextOutput,
SuccessOutput, KeyValueOutput, and TableOutput cover common
cases.