RuntimeCmd represents the runtime command
(ch *cmdutil.Helper)
| 7 | |
| 8 | // RuntimeCmd represents the runtime command |
| 9 | func RuntimeCmd(ch *cmdutil.Helper) *cobra.Command { |
| 10 | internalGroupID := "" |
| 11 | runtimeCmd := &cobra.Command{ |
| 12 | Use: "runtime", |
| 13 | Hidden: !ch.IsDev(), |
| 14 | Short: "Manage stand-alone runtimes", |
| 15 | GroupID: internalGroupID, |
| 16 | } |
| 17 | runtimeCmd.AddCommand(StartCmd(ch)) |
| 18 | runtimeCmd.AddCommand(PingCmd(ch)) |
| 19 | runtimeCmd.AddCommand(InstallDuckDBExtensionsCmd(ch)) |
| 20 | return runtimeCmd |
| 21 | } |
no test coverage detected