Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

btpc completion generate

Generate a shell completion script on stdout

Parent: btpc completion

See Configuration and global flags and Exit codes and streams.

Synopsis

Usage: btpc completion generate [OPTIONS] <SHELL>

Arguments

ArgumentDescription
<SHELL>Shell whose completion syntax should be generated Values: bash, elvish, fish, powershell, zsh.

Options

OptionDescription
-h, --helpPrint help

Global options

OptionDescription
--config, <PATH>Use this configuration file when configuration loading is enabled
--no-configDisable implicit and environment-selected configuration Default: false.
--color, <COLOR>Control colored terminal output Values: auto, always, never.
-v, --verboseIncrease diagnostic verbosity; may be repeated Default: 0.
-q, --quietSuppress human summaries, warnings, and progress Default: false.

Example

$ btpc completion generate --help