| 9 | ) |
| 10 | |
| 11 | type CreateServiceKeyCommand struct { |
| 12 | BaseCommand |
| 13 | |
| 14 | RequiredArgs flag.ServiceInstanceKey `positional-args:"yes"` |
| 15 | ParametersAsJSON flag.JSONOrFileWithValidation `short:"c" description:"Valid JSON object containing service-specific configuration parameters, provided either in-line or in a file. For a list of supported configuration parameters, see documentation for the particular service offering."` |
| 16 | Wait bool `short:"w" long:"wait" description:"Wait for the operation to complete"` |
| 17 | relatedCommands interface{} `related_commands:"service-key"` |
| 18 | } |
| 19 | |
| 20 | func (cmd CreateServiceKeyCommand) Execute(args []string) error { |
| 21 | if err := cmd.SharedActor.CheckTarget(true, true); err != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected