Function run

Source
pub fn run(args: Args) -> Result<(), Box<dyn Error>>
Expand description

§Run

Entrypoint used by binary executable.

§Example

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);