MCPcopy Create free account
hub / github.com/auth0/auth0-cli / resolveInstallIDForTracking

Function resolveInstallIDForTracking

internal/cli/root.go:334–347  ·  view source on GitHub ↗
(cli *cli)

Source from the content-addressed store, hash-verified

332}
333
334func resolveInstallIDForTracking(cli *cli) string {
335 if cli.Config.InstallID != "" {
336 return cli.Config.InstallID
337 }
338
339 if err := cli.Config.Initialize(); err != nil {
340 if errors.Is(err, config.ErrConfigFileMissing) {
341 return ""
342 }
343 return ""
344 }
345
346 return cli.Config.InstallID
347}
348
349func classifyCommandFailure(err error) map[string]string {
350 properties := map[string]string{

Callers 1

trackCommandOutcomeFunction · 0.85

Calls 1

InitializeMethod · 0.80

Tested by

no test coverage detected