Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/cloudfoundry/cli
/ NewRegistry
Function
NewRegistry
cf/commandregistry/registry.go:51–56 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
49
}
50
51
func
NewRegistry() *registry {
52
return
®istry{
53
cmd: make(
map
[string]Command),
54
alias: make(
map
[string]string),
55
}
56
}
57
58
func
Register(cmd Command) {
59
m := cmd.MetaData()
Callers
2
registry_test.go
File · 0.92
registry.go
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected