syllago registry add
Synopsis
Section titled “Synopsis”syllago registry add <git-url> [flags]Options
Section titled “Options”| Flag | Type | Default | Required | Description |
|---|---|---|---|---|
--moat | bool | — | No | Add as a MOAT-signed registry (required when URL is not in the bundled allowlist and no —signing-identity is passed) |
--name | string | — | No | Override the registry name (default: derived from URL) |
--ref | string | — | No | Branch, tag, or commit to checkout (default: repo default branch) |
--signing-identity | string | — | No | Workflow subject SAN (e.g. https://github.com/OWNER/REPO/.github/workflows/moat.yml@refs/heads/main) — implies —moat |
--signing-issuer | string | — | No | OIDC issuer URL (default: GitHub Actions issuer) |
--signing-repository-id | string | — | No | GitHub numeric repository ID (required for GitHub Actions issuer) |
--signing-repository-owner-id | string | — | No | GitHub numeric repository-owner ID (required for GitHub Actions issuer) |
--yes | bool | — | No | Auto-accept TOFU during the chained post-add sync (required for MOAT registries that self-declare via registry.yaml without an allowlist match) |
Global Options
Section titled “Global Options”| Flag | Type | Default | Required | Description |
|---|---|---|---|---|
--json | bool | — | No | Output in JSON format |
--no-color | bool | — | No | Disable color output |
-q, --quiet | bool | — | No | Suppress non-essential output |
-v, --verbose | bool | — | No | Verbose output |
Examples
Section titled “Examples” # Add a registry by URL syllago registry add https://github.com/team/rules.git
# Add 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 mainSee Also
Section titled “See Also”- syllago registry
- syllago registry create
- syllago registry items
- syllago registry list
- syllago registry remove
- syllago registry sync
Source