resolve_arg

Function resolve_arg 

Source
pub fn resolve_arg<'a>(
    matches: &'a ArgMatches,
    arg_name: &str,
    session_value: Option<&'a str>,
) -> Option<&'a str>
Expand description

Resolve an optional CLI arg with session fallback.

Returns the explicit flag value if provided, otherwise the session value. If neither is set, returns None.