Skip to main content

execute_cli

Function execute_cli 

Source
pub fn execute_cli(cli: &Cli) -> Result<String>
Expand description

Dispatches a parsed Cli command and returns formatted output text.

§Arguments

  • &Cli - Parsed CLI invocation.

§Returns

  • io::Result<String> - Command output text or I/O execution error.