pub fn execute_command(cli: &Cli) -> Result<(), CliError>
Execute the CLI command and return the result.