COMPOSER-CLI(1)

πŸ’– composer-cli-completion-bash β€” the bash autocomplete generator πŸ’–

okay bestie, this is a page from the composer-cli manual, and it's a lil niche one but honestly so useful?? we're generating autocompletion for bash. yes. the shell. your shell. let's go ✨


🌸 NAME 🌸

composer-cli-completion-bash β€” generate the autocompletion script for bash

like literally, that's the whole job. it makes bash finish your sentences for you. main character energy fr fr πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

composer-cli completion bash

that's it. that's the vibe. no flags required, no drama.


✨ DESCRIPTION ✨

so what you're doing here is generating the autocompletion script for the bash shell. it's giving ✨quality of life✨.

heads up bestie: this script depends on the bash-completion package. if you don't already have it installed, you can grab it through your OS's package manager. no package, no completion, no cap. 😭

now, to load completions in your current shell session, you run this:

source <(composer-cli completion bash)

and to load completions for every new session, you execute this once:

🐧 Linux:

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

🍎 macOS:

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. like, the setup is not live yet, babe. open a fresh one. 🫢

πŸŽ€ OPTIONS πŸŽ€

  • -h, --help[=false] β€” help for bash. when you're lost, ask for help, it's iconic behavior honestly.
  • --no-descriptions[=false] β€” disable completion descriptions. if you don't want the lil explanations popping up in your completions, flip this on. lowkey minimalist of you.

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

these come down from the parent commands, so they're just vibing here for you:

  • -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. for when you want the unfiltered truth, ngl.
  • --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.
  • --timeout=240 β€” timeout to use for server communication. set to 0 for no timeout. (zero means forever, she's committed πŸ’€)
  • --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. the robots did this one, we just made it cute. ⭐


and that's the whole page bestie!! this was composer-cli (the manual, we folded that in up top like a good host), version Apr 2026, dated Apr 2026. slay, you read the whole thing, I'm so proud of you πŸ₯ΉπŸ’– go complete some commands, you've earned it. periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from