Move kustomize main to cmd directory.

This commit is contained in:
Jeffrey Regan
2019-06-18 11:08:11 -07:00
parent 7dd02c1766
commit d2c93065d5
6 changed files with 44 additions and 55 deletions

17
cmd/kustomize/main.go Normal file
View File

@@ -0,0 +1,17 @@
// Copyright 2019 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0
package main
import (
"os"
"sigs.k8s.io/kustomize/pkg/commands"
)
func main() {
if err := commands.NewDefaultCommand().Execute(); err != nil {
os.Exit(1)
}
os.Exit(0)
}