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

Method AsTableRow

internal/display/tenants.go:15–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13}
14
15func (v *tenantView) AsTableRow() []string {
16 activeText := ""
17 if v.Active {
18 activeText = ansi.Green("→")
19 }
20
21 return []string{
22 activeText,
23 v.Name,
24 }
25}
26
27func (v *tenantView) Object() interface{} {
28 return v.raw

Callers

nothing calls this directly

Calls 1

GreenFunction · 0.92

Tested by

no test coverage detected