Skip to content

nem catalog fmt

Rewrite package manifests to canonical form.

Rewrite package manifests in canonical form: the field order, quoting, and layout nem catalog bump itself writes. Only a local directory or a single pkg.yaml can be formatted.

Usage

nem catalog fmt [catalog] [flags]

Examples

nem catalog fmt                        # every manifest in the current directory
nem catalog fmt . --package kubectl    # one package

Flags

FlagDescription
--package <strings>format this package (repeatable; default: every package)

Global flags

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

See also