composer-cli-completion-zsh - Man Page

Generate the autocompletion script for zsh

Synopsis

composer-cli completion zsh [flags]

Description

Generate the autocompletion script for the zsh shell.

If shell completion is not already enabled in your environment you will need to enable it.  You can execute the following once:

echo "autoload -U compinit; compinit" >> ~/.zshrc

To load completions in your current shell session:

source <(composer-cli completion zsh)

To load completions for every new session, execute once:

Linux

composer-cli completion zsh > "${fpath[1]}/_composer-cli"

macOS

composer-cli completion zsh > $(brew --prefix)/share/zsh/site-functions/_composer-cli

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

Options

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

--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

composer-cli-completion(1)

History

12-Nov-2024 Auto generated by spf13/cobra

Referenced By

composer-cli-completion(1).

Nov 2024 composer-cli