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

Method PrintUsers

cli/pkg/printer/resources.go:98–105  ·  view source on GitHub ↗
(users []*adminv1.User)

Source from the content-addressed store, hash-verified

96}
97
98func (p *Printer) PrintUsers(users []*adminv1.User) {
99 if len(users) == 0 {
100 p.PrintfWarn("No users found\n")
101 return
102 }
103
104 p.PrintData(toUsersTable(users))
105}
106
107func toUsersTable(users []*adminv1.User) []*user {
108 allUsers := make([]*user, 0, len(users))

Callers 2

SearchCmdFunction · 0.80
ListCmdFunction · 0.80

Calls 3

PrintfWarnMethod · 0.95
PrintDataMethod · 0.95
toUsersTableFunction · 0.85

Tested by

no test coverage detected