COMPOSER-CLI(1)

πŸ’– COMPOSER-CLI(1) β€” the sources era πŸ’–

okay bestie, welcome to composer-cli-sources from the composer-cli manual β€” this is the one that handles your sources, and yes we're gonna go through every single flag together, no skimming, no "eh I'll figure it out later". sit down, hydrate, let's go 🫢


✨ NAME ✨

composer-cli-sources β€” manage sources. that's it. that's the vibe. πŸ‘‘


🌸 SYNOPSIS 🌸

composer-cli sources ... [flags]

so like, you call composer-cli sources and then you keep going with whatever sub-thing you want, plus any flags. the ... is doing a lot of heavy lifting there and honestly, same.


πŸ¦‹ DESCRIPTION πŸ¦‹

manage project sources on the server. that's the whole job description and it's lowkey iconic.

the full source reference lives right here if you wanna go read the real tea:

https://osbuild.org/docs/on-premises/installation/managing-repositories

no cap, that's the official link, go look at it, it's giving documentation.


πŸŽ€ OPTIONS πŸŽ€

  • -h, --help[=false] β€” help for sources. bestie if you forget everything else, remember this one. it's your little emergency snack. πŸ“

πŸ’… OPTIONS INHERITED FROM PARENT COMMANDS πŸ’…

these ones you didn't even ask for, they just came with the family. inherited, like your mom's good cheekbones.

  • -a, --api=1 β€” WELDR Server API Version to use.
  • --cloudsocket="/run/cloudapi/api.socket" β€” path to the cloudapi server's socket file. yes, exactly that 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 unfiltered truth, no makeup. πŸ’€
  • --log="" β€” path to optional logfile. optional! it's giving "come as you are".
  • -s, --socket="/run/weldr/api.socket" β€” path to the WELDR API server's socket file. the other socket. the sibling. 🌈
  • --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, which is a choice, and we respect it but also 😭)
  • --weldr-only[=false] β€” only use the WELDR API; skip using the newer Cloud API. old school, nostalgic, we love her.

πŸ”₯ EXAMPLE πŸ”₯

TOML source for a 3rd party rpm repository without gpg checking β€” here's the whole thing, exactly as it is:

  TOML source for 3rd party rpm repository without gpg checking

    id = "extra-repo"
    name = "Extra rpm repository"
    type = "yum-baseurl"
    url = "https://repo.nowhere.com/extra/"
    check_gpg = false

not me putting a whole TOML block in the group chat but here we are and it ate. 🧚


⭐ SEE ALSO ⭐

go read these too, they're the friend group:


πŸ‘‘ HISTORY πŸ‘‘

28-Apr-2026 β€” auto generated by spf13/cobra. shoutout cobra, you did that. 🐍


heads up bestie: this page was auto generated, so if something looks weird, blame the generator, not me. i'm just the messenger with better font choices. πŸ’œ

okay that's the whole thing, every flag, every path, every link, nothing skipped, we ate and left no crumbs. this was composer-cli from Apr 2026 β€” periodt. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from