COMPOSER-CLI(1)
COMPOSER-CLI π (section 1, bestie β general commands)
okay so bestie, welcome to composer-cli, and specifically the part of it that handles sources. this is your group chat for talking to the server, and today we're talking about adding a project source. let's go π
β¨ NAME β¨
composer-cli-sources-add β Add a project source to the server π«Ά
πΈ SYNOPSIS πΈ
composer-cli sources add SOURCE.toml [flags]
yes queen, that's the whole shape of it. one <SOURCE.toml> file, and whatever <flags> you wanna throw at it.
π¦ DESCRIPTION π¦
Add or change a project source repository. that's it, that's the vibe. new source? cool. tweaking an existing one? also cool. same command, no drama. β¨
π OPTIONS π
-h,--help[=false]β help foradd. you already knew that tho. defaults tofalsebc obviously you didn't ask for help yet π
π OPTIONS INHERITED FROM PARENT COMMANDS π
these are the ones your source add command borrowed from its parent, and they are lowkey the main character energy of this whole page:
-a,--api=1β the WELDR Server API Version to use. default is1, she's the blueprint π--cloudsocket="/run/cloudapi/api.socket"β the path to the cloudapi server's socket file. that's where she lives, fr fr.-j,--json[=false]β output the raw JSON response instead of the normal output. defaults tofalse, so you get the pretty version unless you specifically ask for the raw one π--log=""β path to an optional logfile. empty by default, so no logfile unless you say so.-s,--socket="/run/weldr/api.socket"β the path to the WELDR API server's socket file. yes, it's a different socket from the cloudsocket one. two sockets, two vibes, don't mix them up π--test=0β pass test mode to compose.1=Mock compose with fail.2=Mock compose with finished. default is0, i.e. no test mode, i.e. the real thing.--timeout=240β timeout to use for server communication. set to0for no timeout. so240is your default patience level, and0means "we wait forever, bestie" π--weldr-only[=false]β only use the WELDR API; skip using the newer Cloud API. defaults tofalse, meaning by default she'll reach for the newer Cloud API too. if you want the old-school only route, flip this on.
ngl, the--weldr-only/--cloudsocket/--sockettrio is giving "which API am i even talking to" energy. just read the flags twice and you'll be fine π«Ά
π EXAMPLE π
composer-cli sources add rpmfusion.toml
look at her go. iconic. periodt. β¨
π SEE ALSO π
composer-cli-sources(1)β the parent, the lore, the origin story. go read her too.
β HISTORY β
28-Apr-2026 β Auto generated by spf13/cobra. so like, technically a robot wrote this, and we're just here to make it cute π
and that's the whole page!! this was composer-cli from Apr 2026, page COMPOSER-CLI(1) β stay hydrated, read your manpages, and slay the source config bestie π§π
π¦ 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