cli for status

This commit is contained in:
Morten Torkildsen
2019-12-05 08:57:40 -08:00
parent 54b1549586
commit 1b3b8522f9
15 changed files with 1490 additions and 54 deletions

24
cmd/resource/main.go Normal file
View File

@@ -0,0 +1,24 @@
package main
import (
"os"
"github.com/spf13/cobra"
"sigs.k8s.io/kustomize/cmd/resource/status"
_ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
)
var root = &cobra.Command{
Use: "resource",
Short: "resource reference command",
}
func main() {
root.AddCommand(status.StatusCommand())
if err := root.Execute(); err != nil {
os.Exit(1)
}
}