MCPcopy 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
51func NewRegistry() *registry {
52 return &registry{
53 cmd: make(map[string]Command),
54 alias: make(map[string]string),
55 }
56}
57
58func Register(cmd Command) {
59 m := cmd.MetaData()

Callers 2

registry_test.goFile · 0.92
registry.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected