pub type CmdInfoSubcmd<'a> = CmdInfo<'a, SubHandlerType>;Aliased Type§
pub struct CmdInfoSubcmd<'a> {
pub handler: fn(&[&str]) -> Result<(), Box<dyn Error>>,
pub required: Vec<&'a str>,
pub optional: Vec<&'a str>,
pub unlimited: bool,
pub docs: &'static str,
}Fields§
§handler: fn(&[&str]) -> Result<(), Box<dyn Error>>§required: Vec<&'a str>§optional: Vec<&'a str>§unlimited: bool§docs: &'static str