1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00
Files
openshift-docs/modules/opm-cli-ref-init.adoc
2025-10-29 17:56:50 +00:00

35 lines
703 B
Plaintext

// Module included in the following assemblies:
//
// * cli_reference/opm/cli-opm-ref.adoc
:_mod-docs-content-type: REFERENCE
[id="opm-cli-ref-init_{context}"]
= init
Generate an `olm.package` declarative config blob.
.Command syntax
[source,terminal]
----
$ opm init <package_name> [<flags>]
----
.`init` flags
[options="header",cols="1,3"]
|===
|Flag |Description
|`-c`, `--default-channel` (string)
|The channel that subscriptions will default to if unspecified.
|`-d`, `--description` (string)
|Path to the Operator's `README.md` or other documentation.
|`-i`, `--icon` (string)
|Path to package's icon.
|`-o`, `--output` (string)
|Output format: `json` (the default value) or `yaml`.
|===