composer-cli-completion-bash - Man Page

Generate the autocompletion script for bash


composer-cli 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 <(composer-cli completion bash)

To load completions for every new session, execute once:


composer-cli completion bash > /etc/bash_completion.d/composer-cli


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

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


-h, --help[=false] help for bash

--no-descriptions[=false] disable completion descriptions

Options Inherited from Parent Commands

-a, --api=1 Server API Version to use

-j, --json[=false] Output the raw JSON response instead of the normal output

--log="" Path to optional logfile

-s, --socket="/run/weldr/api.socket" Path to the server's socket file

--test=0 Pass test mode to compose. 1=Mock compose with fail. 2=Mock compose with finished.

--timeout=240 Timeout to use for server communication. Set to 0 for no timeout

See Also



27-Jan-2024 Auto generated by spf13/cobra

Referenced By


Jan 2024 composer-cli