Expand description
Presentation contract shared between anyback commands and the parent CLI
that embeds them (anyr backup ...).
A non-interactive backup command produces one result document.
CommandOutput decides how that document is rendered (compact JSON,
indented JSON, human text, or nothing at all) and where it is written
(stdout or a file). Only the result document travels through this type;
diagnostics, progress, and errors stay on stderr so that stdout remains
machine-parseable. Interactive commands render their own terminal UI.
Structs§
- Command
Output - Destination and presentation contract for a backup command result.
- Text
Builder - Accumulates human-readable lines for a single result document.
Enums§
- Output
Mode - How a backup command result should be presented.