mirror of
https://github.com/hanzo-ml/kuberay.git
synced 2026-10-30 19:48:47 +00:00
21 lines
389 B
Go
21 lines
389 B
Go
package config
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
func NewCmdConfig() *cobra.Command {
|
|
configCmd := &cobra.Command{
|
|
Use: "config <command>",
|
|
Short: "Kuberay Config Management",
|
|
Long: ``,
|
|
Annotations: map[string]string{
|
|
"IsCore": "false",
|
|
},
|
|
}
|
|
|
|
configCmd.AddCommand(NewCmdSet())
|
|
configCmd.AddCommand(NewCmdReset())
|
|
configCmd.AddCommand(NewCmdGet())
|
|
|
|
return configCmd
|
|
}
|