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
CommandInfos that can then be used to generate shell completions using
the gen module.
Modules§
- gen
- parse_
deser - For parsing completions from a serialization language (KDL or JSON)
- parse_
man - For parsing command information from man pages
Structs§
- Command
Info - Flags parsed from a command, as well as its parsed subcommands
- Flag
- A parsed flag
Enums§
- ArgType
- How to complete an argument