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 forsources. 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 to0for 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:
composer-cli(1)composer-cli-sources-add(1)composer-cli-sources-change(1)composer-cli-sources-delete(1)composer-cli-sources-info(1)composer-cli-sources-list(1)
π 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
- 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