Skip to main content

cli

Function cli 

Source
pub fn cli<S: Scheduler>(
    name: &'static str,
    version: &'static str,
    about: &'static str,
    legacy: &[u8],
    sized: &[u8],
) -> Result<()>
Expand description

The whole loader of a scheduler: parse the command line, then run() until Ctrl-C. main! calls this with the scheduler’s name, version and objects, and with its options as S.