mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 18:25:26 +00:00
Merge pull request #2526 from mcristina422/patch-2
Add init as an alias to create
This commit is contained in:
@@ -33,9 +33,10 @@ type createFlags struct {
|
||||
func NewCmdCreate(fSys filesys.FileSystem, uf ifc.KunstructuredFactory) *cobra.Command {
|
||||
opts := createFlags{path: filesys.SelfDir}
|
||||
c := &cobra.Command{
|
||||
Use: "create",
|
||||
Short: "Create a new kustomization in the current directory",
|
||||
Long: "",
|
||||
Use: "create",
|
||||
Aliases: []string{"init"},
|
||||
Short: "Create a new kustomization in the current directory",
|
||||
Long: "",
|
||||
Example: `
|
||||
# Create a new overlay from the base '../base".
|
||||
kustomize create --resources ../base
|
||||
|
||||
Reference in New Issue
Block a user