| 8 | ) |
| 9 | |
| 10 | type ShareServiceCommand struct { |
| 11 | BaseCommand |
| 12 | |
| 13 | RequiredArgs flag.ServiceInstance `positional-args:"yes"` |
| 14 | SpaceName string `short:"s" required:"true" description:"The space to share the service instance into"` |
| 15 | OrgName flag.OptionalString `short:"o" required:"false" description:"Org of the other space (Default: targeted org)"` |
| 16 | relatedCommands interface{} `related_commands:"bind-service, service, services, unshare-service"` |
| 17 | } |
| 18 | |
| 19 | func (cmd ShareServiceCommand) Usage() string { |
| 20 | return "CF_NAME share-service SERVICE_INSTANCE -s OTHER_SPACE [-o OTHER_ORG]" |
nothing calls this directly
no outgoing calls
no test coverage detected