MCPcopy Create free account
hub / github.com/rilldata/rill / SwitchCmd

Function SwitchCmd

cli/cmd/admin/switch.go:10–20  ·  view source on GitHub ↗
(ch *cmdutil.Helper)

Source from the content-addressed store, hash-verified

8)
9
10func SwitchCmd(ch *cmdutil.Helper) *cobra.Command {
11 switchCmd := &cobra.Command{
12 Use: "switch {stage|prod|dev}",
13 Short: "switch",
14 RunE: func(cmd *cobra.Command, args []string) error {
15 return errors.New("this command has been deprecated (use `rill devtool switch-env` instead)")
16 },
17 }
18
19 return switchCmd
20}

Callers 1

AdminCmdFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected