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

View File

@@ -0,0 +1,19 @@
package status
import (
"github.com/spf13/cobra"
"sigs.k8s.io/kustomize/cmd/resource/status/cmd"
)
func StatusCommand() *cobra.Command {
var status = &cobra.Command{
Use: "status",
Short: "status reference command",
}
status.AddCommand(cmd.FetchCommand())
status.AddCommand(cmd.WaitCommand())
status.AddCommand(cmd.EventsCommand())
return status
}