Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/cli/cli
/ ColorForProjectState
Function
ColorForProjectState
pkg/cmd/project/shared/format/display.go:14–19 ·
view source on GitHub ↗
(project queries.Project)
Source
from the content-addressed store, hash-verified
12
}
13
14
func
ColorForProjectState(project queries.Project) string {
15
if
project.Closed {
16
return
"gray"
17
}
18
return
"green"
19
}
Callers
2
printResults
Function · 0.92
TestColorForProjectState
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestColorForProjectState
Function · 0.68