pub async fn run_cli(cli: Cli) -> Result<()>
Executes the specified CLI command.
This function sets up the HTTP client and dispatches the command logic to the appropriate handler based on the parsed CLI options.