Skip to contentllms.txt

syllago registry add

syllago registry add <git-url> [flags]

Registers a git repository as a content registry.

By default, only the registry URL and name are saved to config — no network request is made. Run “registry sync” to fetch content when ready.

Use —sync to clone immediately (original behaviour).

FlagTypeDefaultRequiredDescription
--moatbool—NoAdd as a MOAT-signed registry (required when URL is not in the bundled allowlist and no —signing-identity is passed)
--namestring—NoOverride the registry name (default: derived from URL)
--refstring—NoBranch, tag, or commit to checkout (default: repo default branch). Tag and commit refs pin the registry: sync fetches but never moves the checkout.
--signing-identitystring—NoWorkflow subject SAN (e.g. https://github.com/OWNER/REPO/.github/workflows/moat.yml@refs/heads/main) — implies —moat
--signing-issuerstring—NoOIDC issuer URL (default: GitHub Actions issuer)
--signing-repository-idstring—NoGitHub numeric repository ID (required for GitHub Actions issuer)
--signing-repository-owner-idstring—NoGitHub numeric repository-owner ID (required for GitHub Actions issuer)
--syncbool—NoClone and sync immediately after registering (default: register only, sync later with ‘registry sync’)
--yesbool—NoAuto-accept TOFU during the chained post-add sync (required for MOAT registries that self-declare via registry.yaml without an allowlist match)
FlagTypeDefaultRequiredDescription
--jsonbool—NoOutput in JSON format
--no-colorbool—NoDisable color output
-q, --quietbool—NoSuppress non-essential output
-v, --verbosebool—NoVerbose output
Terminal window
# Register a registry (no clone — run 'registry sync' to fetch content)
syllago registry add https://github.com/team/rules.git
# Register and clone immediately
syllago registry add https://github.com/team/rules.git --sync
# Register with a custom name
syllago registry add https://github.com/team/rules.git --name team-rules
# Pin to a specific branch
syllago registry add https://github.com/team/rules.git --ref main

Source