DisableCommand uninstalls an item and its dependencies, ensuring that no sub-item is left in an inconsistent state.
| 43 | // DisableCommand uninstalls an item and its dependencies, ensuring that no |
| 44 | // sub-item is left in an inconsistent state. |
| 45 | type DisableCommand struct { |
| 46 | Item *cwhub.Item |
| 47 | Force bool |
| 48 | } |
| 49 | |
| 50 | func NewDisableCommand(item *cwhub.Item, force bool) *DisableCommand { |
| 51 | return &DisableCommand{Item: item, Force: force} |
nothing calls this directly
no outgoing calls
no test coverage detected