pub fn run() -> Result<(), RunError> {
    use self::RunError::*;

    let args = cli::parse_args()?;
    match args.subcommand {
        cli::Subcommand::Build => build(args)?,
        _ => return Err(UnknownSubcommand),
    }

    Ok(())
}
/// This is the entrypoint. It is responsible for parsing the cli args common to
/// all subcommands, and ultimately executing the requested subcommand.
This is the entrypoint. It is responsible for parsing the cli args common to
all subcommands, and ultimately executing the requested subcommand.
This is the entrypoint . It is responsible for parsing the cli args common to all subcommands and ultimately executing the requested subcommand .
pub fn run() -> Result<(), RunError> {
    use self::RunError::*;
    let args = cli::parse_args()?;
    match args.subcommand {
        cli::Subcommand::Build => build(args)?,
        _ => return Err(UnknownSubcommand),
    }
    Ok(())
}
pub fn run ( ) -> Result < ( ) , RunError > { use self :: RunError :: * ; let args = cli :: parse_args ( ) ? ; match args . subcommand { cli :: Subcommand :: Build => build ( args ) ? , _ => return Err ( UnknownSubcommand ) , } Ok ( ( ) ) }
This is the entrypoint.
This is the entrypoint .