Skip to content

nem catalog add

Add a catalog.

Append a catalog to config.yaml under <name>, after the ones already configured. <ref> is an OCI reference or a local directory; the type is detected from it unless --type says otherwise. nem use, lock, sync, and update pull a new oci catalog the first time they need it; nem catalog update pulls it right away.

Usage

nem catalog add <name> <ref> [flags]

Examples

nem catalog add corp registry.example/nem/catalog:v4             # an OCI catalog
nem catalog add corp registry.example/nem/catalog@sha256:0123...  # pinned to a digest
nem catalog add local ./my-catalog                                # a directory

Flags

FlagDescription
--type <string>catalog type: oci or dir (default: auto-detect)

Global flags

--color, --narration, --quiet, and --verbose apply to every command; see nem.

See also