Skip to main content

main

Function main 

Source
pub fn main(args: impl IntoIterator<Item = String>) -> ExitCode
Expand description

Run the command line on its arguments (without the program name); the exit code is 0 on success, 1 on a failure and 2 on a usage error.