pub fn run(cli: Cli) -> Result<i32>
Runs the CLI with the parsed arguments.
Returns an error if the command execution fails.