Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cloudfoundry/cli
/ SetCommand
Method
SetCommand
cf/commandregistry/registry.go:107–109 ·
view source on GitHub ↗
(cmd Command)
Source
from the content-addressed store, hash-verified
105
}
106
107
func
(r *registry) SetCommand(cmd Command) {
108
r.cmd[cmd.MetaData().Name] = cmd
109
}
110
111
func
(r *registry) RemoveCommand(cmdName string) {
112
delete(r.cmd, cmdName)
Callers
15
call_command_registry_test.go
File · 0.80
config_test.go
File · 0.80
login_test.go
File · 0.80
stack_test.go
File · 0.80
passwd_test.go
File · 0.80
auth_test.go
File · 0.80
logout_test.go
File · 0.80
target_test.go
File · 0.80
stacks_test.go
File · 0.80
curl_test.go
File · 0.80
oauth_token_test.go
File · 0.80
uninstall_plugin_test.go
File · 0.80
Calls
1
MetaData
Method · 0.65
Tested by
no test coverage detected