pub fn run(args: Args) -> Result<(), Box<dyn Error>>
Expand description
Entrypoint used by binary executable.
let iter = vec![
String::from("grep_clone"),
String::from("Who"),
String::from("poem.txt"),
].into_iter();
let args = grep_clone::Args::build(iter).unwrap();
grep_clone::run(args);