Files
kustomize/cmd/resource/status/status.go
Morten Torkildsen 1b3b8522f9 cli for status
2019-12-11 13:13:09 -08:00

20 lines
366 B
Go

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
}