Skip to main content

run

Function run 

Source
pub fn run() -> Result<()>
Expand description

Parse std::env::args as a Cli and run the selected command.

This is the whole body of the standalone aprender-cgp binary.

§Errors

Returns any error produced by the dispatched subcommand.

§Panics

Does not panic; clap exits the process directly on argument-parse failure, --help, and --version.