pub struct ParseCompShell<P> { /* private fields */ }
Expand description

Parser that inserts static shell completion into bpaf’s dynamic shell completion

Trait Implementations§

Consume zero or more items from a command line and collect them into Vec Read more
Consume one or more items from a command line Read more
Turn a required argument into optional one Read more
Apply a failing transformation to a contained value Read more
Apply a pure transformation to a contained value Read more
Validate or fail with a message Read more
Use this value as default if value isn’t present on a command line Read more
Use value produced by this function as default if value isn’t present Read more
Ignore this parser during any sort of help generation Read more
Ignore this parser when generating usage line Read more
Attach help message to a complex parser Read more
Dynamic shell completion Read more
Static shell completion Read more
Add extra annotations to completion information Read more
Automagically restrict the inner parser scope to accept adjacent values only Read more
Parse anywhere Read more
Transform Parser into OptionParser to attach metadata and run Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.