Skip to main content

Module cli

Module cli 

Source
Expand description

CLI artifact envelope and raw-result conversion.

CliArtifact is the tagged union of every renderable artifact a CLI command can emit (table, list, text, dashboard, chart, media, card). CommandResultRaw is the untyped intake shape — data plus a declared CliArtifactType and RenderingHints — converted into a CliArtifact by the conversion submodule. ConversionError covers the failure modes.

Modules§

conversion
Conversion from a raw command result into a typed CLI artifact.

Structs§

CommandResultRaw
RenderingHints

Enums§

CliArtifact
CliArtifactType
ConversionError