MCPcopy
hub / github.com/cloudfoundry/cli / ServiceKeyCommand

Struct ServiceKeyCommand

command/v7/service_key_command.go:7–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5)
6
7type ServiceKeyCommand struct {
8 BaseCommand
9
10 RequiredArgs flag.ServiceInstanceKey `positional-args:"yes"`
11 GUID bool `long:"guid" description:"Retrieve and display the given service-key's guid. All other output is suppressed."`
12 JSON bool `long:"json" description:"Output credentials as JSON. All other output is suppressed."`
13}
14
15func (cmd ServiceKeyCommand) Execute(args []string) error {
16 if err := cmd.SharedActor.CheckTarget(true, true); err != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected