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 to0for 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 π
composer-cli-completion(1)β go read this one too, it's the whole family π¨βπ©βπ§
π 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
- fedora 44: weldr-client 36.2-2.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms