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

Method PrintProjects

cli/pkg/printer/resources.go:55–62  ·  view source on GitHub ↗
(projs []*adminv1.Project)

Source from the content-addressed store, hash-verified

53}
54
55func (p *Printer) PrintProjects(projs []*adminv1.Project) {
56 if len(projs) == 0 {
57 p.PrintfWarn("No projects found\n")
58 return
59 }
60
61 p.PrintData(toProjectTable(projs))
62}
63
64func toProjectTable(projects []*adminv1.Project) []*project {
65 projs := make([]*project, 0, len(projects))

Callers 5

RenameCmdFunction · 0.80
EditCmdFunction · 0.80
ShowCmdFunction · 0.80
ListCmdFunction · 0.80
EditCmdFunction · 0.80

Calls 3

PrintfWarnMethod · 0.95
PrintDataMethod · 0.95
toProjectTableFunction · 0.85

Tested by

no test coverage detected