Skip to main content

run

Function run 

Source
pub fn run(args: &[String]) -> Result<String, Box<dyn Error>>
Expand description

Dispatches on args[0] (the subcommand name) and returns the formatted output. args excludes the program name (pass std::env::args().skip(1) collected into a Vec, or an equivalent slice in tests).