pub fn parse_first_arg(arg_list: &[String]) -> Option<String> {
    match arg_list.get(1) {
        Some(x) => Some(x.clone()),
        None => None,
    }
}
/// Returns `Option<String>` with the first positional argument to the executable.
/// Returns `None` if the command was entered as the executable only.
Returns `Option` with the first positional argument to the executable.
Returns `None` if the command was entered as the executable only.
Returns ` Option ` with the first positional argument to the executable . Returns ` None ` if the command was entered as the executable only .
pub fn parse_first_arg(arg_list: &[String]) -> Option<String> {
    match arg_list.get(1) {
        Some(x) => Some(x.clone()),
        None => None,
    }
}
pub fn parse_first_arg ( arg_list : & [ String ] ) -> Option < String > { match arg_list . get ( 1 ) { Some ( x ) => Some ( x . clone ( ) ) , None => None , } }
Returns `Option<String>` with the first positional argument to the executable.
Returns ` Option<String > ` with the first positional argument to the executable .
arg_list
&[String]
arg_list
&[String]