Skip to content

Commit

Permalink
Add init as an alias to create
Browse files Browse the repository at this point in the history
  • Loading branch information
mcristina422 committed May 22, 2020
1 parent 80dc476 commit eba34f4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions kustomize/internal/commands/create/create.go
Expand Up @@ -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
Expand Down

0 comments on commit eba34f4

Please sign in to comment.