Skip to content

mw completion bash

Releasev0.35.0 · cfeceb67

mw completion bash

Generate the autocompletion script for the bash shell.

This script depends on the ‘bash-completion’ package. If it is not installed already, you can install it via your OS’s package manager.

To load completions in your current shell session:

source <(mw completion bash)

To load completions for every new session, execute once:

mw completion bash > /etc/bash_completion.d/mw
mw completion bash > $(brew --prefix)/etc/bash_completion.d/mw

You will need to start a new shell for this setup to take effect.

--no-descriptions
disable completion descriptions
--help
Help for this command
--no-interaction
Do not ask any interactive questions
-v, --verbose <count>
Increase output verbosity. Example: --verbose=2 or -vv
Report an issue with this page

Report a documentation issue

The report includes this page’s link, section and documentation version.

Review and submit on Phabricator, or run the command using your saved CLI profile. The command asks before creating the task.