kurel CLI
kurel CLI Reference
kurel is an OAM-native package manager for Kubernetes. Packages are described with
a launcher Application document (app.yaml) and an optional parameter schema
(kurel.yaml); build-time parameter substitution produces static, GitOps-ready
Kubernetes manifests.
This package defines the kurel command tree (NewKurelCommand) and entry point
(Execute). The completion and version subcommands are provided by
pkg/cmd/shared.
Command tree
kurel build
Builds static manifests from an Application (a path to app.yaml, or a directory
containing app.yaml and optionally kurel.yaml) plus a platform ClusterProfile.
Output goes to stdout by default, or to a directory with --output.
| Flag | Description |
|---|---|
--profile (required) | Path to the ClusterProfile YAML. |
-o, --output | Output directory (default: stdout). |
-n, --namespace | Namespace override. |
--cluster-id | Cluster identifier (default local). |
--values | Path to a values YAML file (requires a kurel.yaml package). |
--set key=value | Set a parameter value (repeatable; requires kurel.yaml). |
--capability-def | Additional CapabilityDefinition file (repeatable). |
--strict-capabilities | Error (instead of warn) on unvalidated custom capabilities. |
Global flags
Available on all commands (defined in pkg/cmd/shared/options):
| Flag | Description |
|---|---|
-c, --config | Config file (default $HOME/.kurel.yaml). |
-v, --verbose | Verbose output. |
--debug | Debug output (implies verbose). |
--strict | Treat warnings as errors. |
-o, --output | Output format: yaml|json|table|wide|name. |
-f, --output-file | Write output to a file instead of stdout. |
--no-headers, --show-labels, --wide | Table-output controls. |
--dry-run | Print generated resources without writing files. |
-n, --namespace | Target namespace. |