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

Function verifyInstallCmd

cli/cmd/verify_install.go:12–26  ·  view source on GitHub ↗
(ch *cmdutil.Helper)

Source from the content-addressed store, hash-verified

10)
11
12func verifyInstallCmd(ch *cmdutil.Helper) *cobra.Command {
13 internalGroupID := ""
14 cmd := &cobra.Command{
15 Use: "verify-install",
16 Short: "Verify installation (called by install script)",
17 Hidden: !ch.IsDev(),
18 RunE: func(cmd *cobra.Command, args []string) error {
19 ch.Telemetry(cmd.Context()).RecordBehavioralLegacy(activity.BehavioralEventInstallSuccess, attribute.String("os", runtime.GOOS), attribute.String("arch", runtime.GOARCH))
20 return nil
21 },
22 GroupID: internalGroupID,
23 }
24
25 return cmd
26}

Callers 1

RootCmdFunction · 0.85

Calls 5

TelemetryMethod · 0.80
ContextMethod · 0.65
StringMethod · 0.65
IsDevMethod · 0.45

Tested by

no test coverage detected