Skip to main content

parse_last_arg

Function parse_last_arg 

Source
pub fn parse_last_arg(arg_list: &[String]) -> Option<String>
Expand description

Returns Option<String> with the last positional argument to the executable. Returns None if the command was entered as the executable only.