Skip to main content

Crate supplement

Crate supplement 

Source
Expand description

Qucikstart: Check the example of Supplement. Derive it and call Supplement::supplement to start the CLI compleiton.

Re-exports§

pub use completion::Completion;
pub use completion::CompletionGroup;
pub use seen::Seen;

Modules§

completion
The module for CLI completion output.
core
The module defining CLI objects, including Command, Flag and Arg.
error
Module defining the error types for this crate.
gen_prelude
generate
helper
Helper functions/macros to make your life easier.
id
Module for IDs of CLI objects that can be used to lookup values in Seen.
seen
The module for values seen in the CLI.

Enums§

Shell
Enum to represent different shell. Use str::parse to create it.

Traits§

Supplement
Trait for CLI completion.

Type Aliases§

Result

Derive Macros§

Supplement