pub fn wrap_cli_context(
    err: CliError,
    has_exact: bool,
    has_all: bool
) -> Result<()>