COMPOSER-CLI(1)

✨ COMPOSER-CLI ✨

okay bestie, this is a page from the composer-cli manual β€” specifically the composer-cli-completion-zsh corner of it, which is genuinely so useful and also nobody ever reads it, so you're already winning πŸ’…


🌸 NAME 🌸

composer-cli-completion-zsh β€” generate the autocompletion script for zsh 🐚✨

like, it makes your shell finish your sentences for you. iconic behaviour, honestly.


πŸŽ€ SYNOPSIS πŸŽ€

composer-cli completion zsh [flags]

that's it. that's the whole vibe. short king of a synopsis fr fr.


πŸ’– DESCRIPTION πŸ’–

so what this does is generate the autocompletion script for the zsh shell. that's the whole job. it spits out a script, you feed it to zsh, and suddenly your tab key is doing the most. πŸ˜­πŸ’•

now β€” if shell completion isn't already enabled in your environment, you're gonna have to enable it yourself, bestie. no cap. you can run this once:

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

and if you want to load completions in your current shell session only (like, right now, no waiting), do:

source <(composer-cli completion zsh)

but if you want it for every single new session forever and ever, you gotta run this once instead β€” and it's slightly different depending on your OS, so pay attention 🫢

πŸ“ Linux:

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

πŸ¦‹ macOS:

composer-cli completion zsh > $(brew --prefix)/share/zsh/site-functions/_composer-cli
⚠️ real talk: you will need to start a new shell for this setup to take effect. the vibes will not update themselves. go open a fresh terminal, you got this πŸ’œ

✨ OPTIONS ✨

  • -h, --help[=false] β€” help for zsh πŸ†˜ like, it tells you about zsh. very meta of it.
  • --no-descriptions[=false] β€” disable completion descriptions πŸ™ˆ so your completions show up without the little explanations attached. minimalism era.

πŸ‘‘ OPTIONS INHERITED FROM PARENT COMMANDS πŸ‘‘

these aren't even from this command, they're passed down from the parent. family heirlooms. πŸ’Ž

  • -a, --api=1 β€” WELDR Server API Version to use
  • --cloudsocket="/run/cloudapi/api.socket" β€” path to the cloudapi server's socket file
  • -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 WELDR API server's socket file
  • --test=0 β€” pass test mode to compose. 1=Mock compose with fail. 2=Mock compose with finished. πŸ§ͺ (yes, those are the actual values, copy them exactly bestie)
  • --timeout=240 β€” timeout to use for server communication. Set to 0 for no timeout ⏳ (zero means infinite patience, main character energy)
  • --weldr-only[=false] β€” only use the WELDR API; skip using the newer Cloud API 🚫☁️

🌈 SEE ALSO 🌈


πŸ“œ HISTORY πŸ“œ

28-Apr-2026 β€” auto generated by spf13/cobra πŸ€– (cobra really said "I'll write your docs for you" and honestly? slay)


okay that's the whole page, you're fully caught up, no notes πŸ’…βœ¨

sign-off time πŸŽ€ this was composer-cli, from Apr 2026 β€” that's the source and the date, right there, preserved forever like a lil time capsule. go forth and tab-complete your way to greatness. mwah πŸ’–πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from