nem catalog lint
Validate package manifests in a catalog.
Parse and validate every package manifest in the catalog and print one warning per finding; the exit status is 1 when there are findings. The catalog is the current directory by default. A directory, a single pkg.yaml, or an OCI reference all work.
Usage
nem catalog lint [catalog] [flags]Examples
nem catalog lint # the current directory
nem catalog lint . --package kubectl # one package
nem catalog lint ghcr.io/vi-dev/nem-catalog:v4 # a published catalogFlags
| Flag | Description |
|---|---|
--package <strings> | lint this package (repeatable; default: every package) |
Global flags
--color, --narration, --quiet, and --verbose apply to every command; see nem.