pub(crate) type CommandResult = Result<ExitCode, CliError>;
Result of a command: the exit code to return, or an error that stopped it.
pub(crate) enum CommandResult { Ok(ExitCode), Err(CliError), }
Contains the success value
Contains the error value