Module: Pvectl::Commands::DeleteCommand
- Includes:
- IrreversibleCommand
- Included in:
- DeleteContainer, DeleteVm
- Defined in:
- lib/pvectl/commands/delete_command.rb
Overview
Delete-specific functionality built on IrreversibleCommand.
Adds delete-specific behavior:
-
Confirmation message mentioning disk destruction
-
–keep-disks and –purge options in service_options
-
Delegates to Services::ResourceDelete
Class Method Summary collapse
-
.included(base) ⇒ Object
Hook called when module is included.
Methods included from IrreversibleCommand
Class Method Details
.included(base) ⇒ Object
Hook called when module is included.
25 26 27 |
# File 'lib/pvectl/commands/delete_command.rb', line 25 def self.included(base) base.extend(IrreversibleCommand::ClassMethods) end |