mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-07-17 09:49:13 +00:00
cli for status
This commit is contained in:
19
cmd/resource/status/status.go
Normal file
19
cmd/resource/status/status.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user