Skip to main content

split_argv

Function split_argv 

Source
pub fn split_argv<I: IntoIterator<Item = String>>(raw: I) -> Argv
Expand description

Compute Argv from the raw command line.

This walks the raw arguments rather than reading the parsed Cli, because clap assigns the FIRST positional to file even under -e, where that positional is really the program’s own first argument.