MCPcopy Index your code
hub / github.com/rilldata/rill / RuntimeCmd

Function RuntimeCmd

cli/cmd/runtime/runtime.go:9–21  ·  view source on GitHub ↗

RuntimeCmd represents the runtime command

(ch *cmdutil.Helper)

Source from the content-addressed store, hash-verified

7
8// RuntimeCmd represents the runtime command
9func 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}

Callers 1

RootCmdFunction · 0.92

Calls 4

StartCmdFunction · 0.70
PingCmdFunction · 0.70
IsDevMethod · 0.45

Tested by

no test coverage detected