Expand description
Flag alias discovery — parse --help output to find short/long flag pairs.
Enables auto-expansion: a rule with flags = ["--force"] also matches -f
if the flag cache knows --force aliases to -f.
Structs§
- Archived
Flag Alias - An archived
FlagAlias - Archived
Flag Cache - An archived
FlagCache - Flag
Alias - A short ↔ long flag pair discovered from help output.
- Flag
Alias Resolver - The resolver for an archived
FlagAlias - Flag
Cache - Cached flag aliases keyed by command (e.g. “git push”, “curl”).
- Flag
Cache Resolver - The resolver for an archived
FlagCache
Functions§
- discover_
flags - Run a command with
--helpand parse the output for flag aliases. - expand_
flags - Expand a list of flags with their aliases from the cache.
- load_
cache - Load the flag cache from
~/.rippy/flag-cache.bin. - parse_
help_ output - Parse help output text and extract short/long flag pairs.
- run
- Run the
rippy discovercommand. - save_
cache - Save the flag cache to
~/.rippy/flag-cache.bin.