You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Kubebuilder CLI provides a new experimental helper `alpha generate` command to re-scaffold an existing project from the scratch using the current version of KubeBuilder binary available based on PROJECT config file.
6
+
7
+
## When to use it ?
8
+
9
+
This command is useful when you want to upgrade an existing project to the latest version of the Kubebuilder project layout. It makes it easier for the users to migrate their operator projects to the new scaffolding.
10
+
11
+
## How to use it ?
12
+
13
+
Currently, it supports two optional params, `input-dir` and `output-dir`.
14
+
15
+
`input-dir` is the path to the existing project that you want to re-scaffold. Default is the current working directory.
16
+
17
+
`output-dir` is the path to the directory where you want to generate the new project. Default is a subdirectory in the current working directory.
0 commit comments