Skip to main content

kmpkg format-manifest

Synopsis

kmpkg format-manifest [--all] [--convert-control] [<path>...]

Description

Formats manifest (kmpkg.json) files and converts control (CONTROL) files into the manifest format. If both CONTROL and kmpkg.json file are present in the same directory, the command will exit with an error.

Examples

To format a specific manifest or control file:

kmpkg format-manifest /path/to/kmpkg.json

To format all manifest files in the ${KMPKG_ROOT}/ports directory:

kmpkg format-manifest --all

Options

All kmpkg commands support a set of common options.

--all

Formats all manifest files in the ${KMPKG_ROOT}/ports directory.

--convert-control

Converts CONTROL files into kmpkg.json format when found in the ports directory.