Skip to main content

Module cli

Module cli 

Source

Re-exports§

pub use output::CommandOutput;
pub use output::OutputMode;
pub use output::TextBuilder;

Modules§

decode
output
Presentation contract shared between anyback commands and the parent CLI that embeds them (anyr backup ...).

Structs§

AppContext
BackupCreateArgs
DiffArgs
ExtractArgs
ListArgs
ManifestArgs
RestoreApplyArgs
WorkflowDeadline
One absolute backup or restore workflow deadline and its validated watcher limits.

Enums§

BackupModeArg
Commands
ExportFormatArg
ImportModeArg
SinceModeArg

Functions§

command_is_interactive
Commands that render an interactive terminal UI and therefore cannot be redirected, formatted, or silenced by the standard output contract.
command_name
The command name as spelled on the command line, for diagnostics.
run_command
Execute a backup command with a client and output contract configured by the parent application.
run_command_with_deadline
Executes a backup command with timeout configuration captured before client construction.
validate_command_output
Rejects a result path that aliases an input or artifact used by command.