Skip to main content

run_command

Function run_command 

Source
pub async fn run_command(
    command: Commands,
    client: AnytypeClient,
    output: CommandOutput,
) -> Result<()>
Expand description

Execute a backup command with a client and output contract configured by the parent application.

The parent application is responsible for rejecting output combinations the requested command cannot honor; see command_is_interactive.