(args []string)
| 13 | } |
| 14 | |
| 15 | func (cmd ServiceKeyCommand) Execute(args []string) error { |
| 16 | if err := cmd.SharedActor.CheckTarget(true, true); err != nil { |
| 17 | return err |
| 18 | } |
| 19 | |
| 20 | switch { |
| 21 | case cmd.GUID: |
| 22 | return cmd.guid() |
| 23 | case cmd.JSON: |
| 24 | return cmd.json() |
| 25 | default: |
| 26 | return cmd.details() |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | func (cmd ServiceKeyCommand) Usage() string { |
| 31 | return `CF_NAME service-key SERVICE_INSTANCE SERVICE_KEY` |
nothing calls this directly
no test coverage detected