Trait HelpPrinter

Source
pub trait HelpPrinter {
    // Required method
    fn print(
        &self,
        group: &Group,
        subcommand_entries: &Vec<HelpEntry<&Rc<String>, &Rc<Group>>>,
        option_entries: &Vec<HelpEntry<&Rc<String>, &Rc<Descriptor>>>,
        arg_entries: &Vec<Descriptor>,
    );
}
Expand description

Help formatter to use when printing the help documentation.

Required Methods§

Source

fn print( &self, group: &Group, subcommand_entries: &Vec<HelpEntry<&Rc<String>, &Rc<Group>>>, option_entries: &Vec<HelpEntry<&Rc<String>, &Rc<Descriptor>>>, arg_entries: &Vec<Descriptor>, )

Print the help documentation.

Implementors§