mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-22 14:57:01 +00:00
20 lines
366 B
Go
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
|
|
}
|