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

Function getLogin

internal/cli/templates.go:41–51  ·  view source on GitHub ↗
(cli *cli)

Source from the content-addressed store, hash-verified

39}
40
41func getLogin(cli *cli) string {
42 if !cli.Config.IsLoggedInWithTenant(cli.tenant) {
43 return ansi.Italic(`
44Before using the CLI, you'll need to login:
45
46 $ auth0 login
47`)
48 }
49
50 return ""
51}
52
53func namespaceUsageTemplate() string {
54 return fmt.Sprintf(`%s{{if .Runnable}}

Callers 1

buildRootCmdFunction · 0.85

Calls 2

ItalicFunction · 0.92
IsLoggedInWithTenantMethod · 0.80

Tested by

no test coverage detected