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