| 8 | ) |
| 9 | |
| 10 | type DeleteServiceKeyCommand struct { |
| 11 | BaseCommand |
| 12 | |
| 13 | RequiredArgs flag.ServiceInstanceKey `positional-args:"yes"` |
| 14 | Force bool `short:"f" description:"Force deletion without confirmation"` |
| 15 | Wait bool `short:"w" long:"wait" description:"Wait for the operation to complete"` |
| 16 | relatedCommands interface{} `related_commands:"service-keys"` |
| 17 | } |
| 18 | |
| 19 | func (cmd DeleteServiceKeyCommand) Execute(args []string) error { |
| 20 | if err := cmd.SharedActor.CheckTarget(true, true); err != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected