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

Method AsTableHeaderString

internal/display/logs.go:78–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76}
77
78func (v *LogView) AsTableHeaderString() string {
79 row := v.AsTableHeader()
80 return fmt.Sprintf(
81 " "+"\033[4m%-*s %-*s %-*s %-*s %-*s\033[0m",
82 colWidthType+3, row[0],
83 colWidthDesc+14, row[1],
84 colWidthDate, row[2],
85 colWidthConnection, row[3],
86 colWidthClient, row[4],
87 )
88}
89
90func (v *LogView) AsTableRow() []string {
91 typ, desc := v.typeDesc()

Callers 1

LogPromptMethod · 0.95

Calls 1

AsTableHeaderMethod · 0.95

Tested by

no test coverage detected