Files
kustomize/cmd/kubectl/main.go
2019-12-12 10:23:47 -08:00

20 lines
395 B
Go

// Copyright 2019 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0
package main
import (
"os"
"sigs.k8s.io/kustomize/cmd/kubectl/kubectlcobra"
"sigs.k8s.io/kustomize/kyaml/commandutil"
)
func main() {
// enable the config commands
os.Setenv(commandutil.EnableAlphaCommmandsEnvName, "true")
if err := kubectlcobra.GetCommand(nil).Execute(); err != nil {
os.Exit(1)
}
}