OpenForm
CLICommandsregistry

registry catalog

Last updated on

Manage registry catalog items

Manage which artifacts are listed in a registry catalog.

Usage

ofm registry catalog <command> [options]

Subcommands

CommandDescription
addAdd an artifact to the registry catalog
removeRemove an artifact from the registry catalog

catalog add

Add an artifact to the registry catalog.

ofm registry catalog add <artifact> [options]

Arguments

ArgumentDescription
artifactPath to artifact file (JSON/YAML)

Options

OptionDescription
-r, --registry <path>Path to registry.json (default: ./registry.json)
-y, --yesSkip 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.json

catalog remove

Remove an artifact from the registry catalog.

ofm registry catalog remove <name> [options]
ofm registry catalog rm <name> [options]

Arguments

ArgumentDescription
nameArtifact name to remove

Options

OptionDescription
-r, --registry <path>Path to registry.json (default: ./registry.json)
-y, --yesSkip confirmation prompts

Examples

ofm registry catalog remove w9-form
ofm registry catalog rm old-template -y

See also

On this page