Skip to content

Build Dialect packages.

Usage

rootform package dialects <directory> [options]
SHELL

Options

FlagTypeDefaultDescription
--documentation-urlstring""record the documentation url in OCI provenance
--licensesstring""record the SPDX license expression in OCI provenance
--revisionstring""record the source-control revision in OCI provenance
--source-urlstring""record the canonical source url in OCI provenance
--tostring""write the registry layout to directory

Global options

FlagTypeDefaultDescription
-h, --helpboolfalseshow how to use rootform package dialects
--colormodeautocolor human output: auto|always|never; default: auto
--no-pagerboolfalseprint a long report in full instead of opening it in less

Behavior

Compile an external Dialect source set and write one deterministic, local-only registry layout of exact Dialect packages. Dialects embedded in Rootform are never packaged. Nothing is sent to a registry.

The summary goes to standard output. Diagnostics go to standard error.

Exit status

StatusDescription
0the registry layout was written
1the Dialect source is invalid
2the command was used incorrectly
4a source could not be read or the layout could not be written

Examples

rootform package dialects ./dialects --to ./artifacts/oci
rootform package dialects . --to ./artifacts/oci
rootform package dialects ./own --to ./oci --licenses MPL-2.0
Shell