Skip to content

usage generate completion

Arguments

<SHELL>

Choices:

  • bash
  • fish
  • zsh

<BIN>

The CLI which we're generates completions for

Flags

--cache-key <CACHE_KEY>

A cache key to use for storing the results of calling the CLI with --usage-cmd

-f --file <FILE>

A .usage.kdl spec file to use for generating completions

--usage-cmd <USAGE_CMD>

A command which generates a usage spec e.g.: mycli --usage or mycli completion usage Defaults to "$bin --usage"

Licensed under the MIT License. Maintained by @jdx and friends.