Crate gen_completions
source ·Expand description
This is a library for generating completions either by parsing manpages or from KDL or JSON config files. If you’re looking for the CLI tool, head to https://crates.io/crates/gen-completions
The parse_man
module parses manpages, while the parse_deser
module
deserializes a KDL or JSON file to get command information. Both produce
CommandInfo
s that can then be used to generate shell completions using
the gen
module.
Modules§
- For parsing completions from a serialization language (KDL or JSON)
- For parsing command information from man pages
Structs§
- Flags parsed from a command, as well as its parsed subcommands
- A parsed flag
Enums§
- How to complete an argument