pub trait ThenHelp<S> {
    fn help(self, description: &'static str) -> HelpArgument<S, Self>
    where
        Self: Sized
, { ... } }
Expand description

Type that can produce a usage list and help command.

This should conventionally only be implemented on literal types (types that implement CommandArgument<()>).

Provided Methods

Attach this parser to a HelpArgument and a description, the help name will be the usage returned by the root parser.

Implementors