mirror of
https://github.com/hanzo-ml/kuberay.git
synced 2026-10-30 19:48:47 +00:00
22 lines
393 B
Go
22 lines
393 B
Go
package template
|
|
|
|
import (
|
|
"github.com/ray-project/kuberay/cli/pkg/cmd/template/compute"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func NewCmdTemplate() *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "template <command>",
|
|
Short: "Manage templates (compute)",
|
|
Long: ``,
|
|
Annotations: map[string]string{
|
|
"IsCore": "true",
|
|
},
|
|
}
|
|
|
|
cmd.AddCommand(compute.NewCmdComputeTemplate())
|
|
|
|
return cmd
|
|
}
|