mirror of
https://github.com/hanzo-ml/kuberay.git
synced 2026-10-30 19:48:47 +00:00
21 lines
388 B
Go
21 lines
388 B
Go
package compute
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
func NewCmdComputeTemplate() *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "compute <command>",
|
|
Short: "Manage compute template",
|
|
Annotations: map[string]string{
|
|
"IsCore": "true",
|
|
},
|
|
}
|
|
|
|
cmd.AddCommand(newCmdGet())
|
|
cmd.AddCommand(newCmdList())
|
|
cmd.AddCommand(newCmdCreate())
|
|
cmd.AddCommand(newCmdDelete())
|
|
|
|
return cmd
|
|
}
|