pub fn user_error_with_hint_opt(
    err: impl Into<Box<dyn Error + Send + Sync>>,
    hint: Option<String>
) -> CommandError