@oclif/plugin-autocomplete
autocomplete plugin for oclif (bash & zsh)
Usage
See https://oclif.io/docs/plugins.html
Commands
oclif-example _autocomplete [SHELL]
display autocomplete installation instructions
USAGE
$ oclif-example _autocomplete [SHELL]
ARGUMENTS
SHELL shell type
OPTIONS
-r, --refresh-cache Refresh cache (ignores displaying instructions)
EXAMPLES
$ oclif-example _autocomplete
$ oclif-example _autocomplete bash
$ oclif-example _autocomplete zsh
$ oclif-example _autocomplete --refresh-cache
See code: src/commands/_autocomplete/index.ts