mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 21:46:22 +01:00
25 lines
609 B
Plaintext
25 lines
609 B
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * cli_reference/osdk/cli-osdk-ref.adoc
|
|
// * operators/operator_sdk/osdk-cli-ref.adoc
|
|
|
|
[id="osdk-cli-ref-create_{context}"]
|
|
= create
|
|
|
|
The `operator-sdk create` command is used to create, or _scaffold_, a Kubernetes API.
|
|
|
|
[id="osdk-cli-ref-create-api_{context}"]
|
|
== api
|
|
|
|
The `create api` subcommand scaffolds a Kubernetes API. The subcommand must be run in a project that was initialized with the `init` command.
|
|
|
|
.`create api` flags
|
|
[options="header",cols="1,3"]
|
|
|===
|
|
|Flag |Description
|
|
|
|
|`-h`, `--help`
|
|
|Help output for the `run bundle` subcommand.
|
|
|
|
|===
|