COMPOSER-CLI(1)

πŸ’… COMPOSER-CLI β€” the completion page, bestie edition

okay so you opened the COMPOSER-CLI(1) manual and landed on the completion command and you're like "what is this" β€” don't worry, I got you. Sit down, grab a boba πŸ§‹, we're doing this together.


✨ NAME ✨

composer-cli-completion β€” it generates the autocompletion script for the shell you pick. that's it. that's the whole job. she's a one-trick pony and she's iconic for it πŸ’…


🌸 SYNOPSIS 🌸

composer-cli completion [flags]

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically: this command spits out an autocompletion script for composer-cli, tailored to whichever shell you asked for. the autocompletion script, for the specified shell β€” yes, the shell matters, it's not one-size-fits-all, she customises πŸ’–

and listen β€” the deets on how to actually use the generated script? those live in each sub-command's help. so if you're sitting there like "ok but what do I do with this file 😭" β€” go read the sub-command's help. it's all in there. i'm not gonna spoil it.


πŸ‘‘ OPTIONS πŸ‘‘

just the one, and honestly? she's low-key the most important one:

  • -h, --help[=false] β€” help for completion. that's it, that's the flag. when you're lost, hit her up 🫢

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

these aren't even completion's own flags β€” she inherited them from the parent command, like a family heirloom but make it CLI. all of them work here too:

  • -a, --api=1 β€” which WELDR Server API Version to use. default is 1. ✨
  • --cloudsocket="/run/cloudapi/api.socket" β€” the path to the cloudapi server's socket file. yes, that exact path, character for character, don't freestyle it.
  • -j, --json[=false] β€” output the raw JSON response instead of the normal output. for when you want the data au naturel πŸ’€
  • --log="" β€” path to an optional logfile. optional! so if you leave it empty, that's a whole mood and also the default.
  • -s, --socket="/run/weldr/api.socket" β€” path to the WELDR API server's socket file. note it's weldr not cloudapi β€” two different sockets, two different vibes, don't mix them up bestie πŸ™ˆ
  • --test=0 β€” pass test mode to compose. and the values are very specific so listen up:
    • 1 = Mock compose with fail.
    • 2 = Mock compose with finished.

default is 0, which is just... normal mode. no games.

  • --timeout=240 β€” the timeout to use for server communication, in seconds. default 240. set it to 0 for no timeout β€” zero means no timeout, not "instant", okay? don't get caught lacking.
  • --weldr-only[=false] β€” only use the WELDR API; skip using the newer Cloud API. so if you're a WELDR purist, this one's for you. default is false, meaning by default she will reach for that newer Cloud API too.

πŸ’œ SEE ALSO πŸ’œ

go read your sisters, they know things:

one per shell. pick your fighter πŸŽ€


πŸ“œ HISTORY πŸ“œ

  • 28-Apr-2026 β€” Auto generated by spf13/cobra. yeah, a robot wrote this. and she ate. no cap.

heads up bestie: this page is auto-generated, so if something looks weird, that's just cobra doing cobra things πŸ’€

and that's the whole page!! you made it, i'm so proud πŸ₯Ήβœ¨

composer-cli Β· Apr 2026 Β· COMPOSER-CLI(1) β€” mwah, go autocomplete something gorgeous πŸ’–πŸ¦‹

πŸ“¦ where this page comes from