CLICommandsregistry
registry catalogLast updated on
Last updated on
Manage registry catalog items
Manage which artifacts are listed in a registry catalog.
Usage
ofm registry catalog <command> [options]Subcommands
| Command | Description |
|---|---|
add | Add an artifact to the registry catalog |
remove | Remove an artifact from the registry catalog |
catalog add
Add an artifact to the registry catalog.
ofm registry catalog add <artifact> [options]Arguments
| Argument | Description |
|---|---|
artifact | Path to artifact file (JSON/YAML) |
Options
| Option | Description |
|---|---|
-r, --registry <path> | Path to registry.json (default: ./registry.json) |
-y, --yes | Skip confirmation prompts |
Description
Reads and validates the artifact file, then adds it to the items array in registry.json. If an artifact with the same name already exists, you will be prompted to update it.
Examples
ofm registry catalog add ./artifacts/w9-form.json
ofm registry catalog add ./lease.yaml -r ./my-registry/registry.jsoncatalog remove
Remove an artifact from the registry catalog.
ofm registry catalog remove <name> [options]
ofm registry catalog rm <name> [options]Arguments
| Argument | Description |
|---|---|
name | Artifact name to remove |
Options
| Option | Description |
|---|---|
-r, --registry <path> | Path to registry.json (default: ./registry.json) |
-y, --yes | Skip confirmation prompts |
Examples
ofm registry catalog remove w9-form
ofm registry catalog rm old-template -ySee also
- registry make - Create a registry
- registry compile - Compile registry artifacts