Class: GDK::Command::ResetData
- Inherits:
-
BaseCommand
- Object
- BaseCommand
- GDK::Command::ResetData
- Defined in:
- lib/gdk/command/reset_data.rb
Overview
Handles ‘gdk reset-data` command execution
Instance Attribute Summary
Attributes inherited from BaseCommand
Instance Method Summary collapse
Methods inherited from BaseCommand
#config, #display_help_message, #help, #initialize, #print_help, #print_ready_message, #ready_messages, validate_config?
Constructor Details
This class inherits a constructor from GDK::Command::BaseCommand
Instance Method Details
#run(_ = []) ⇒ Object
9 10 11 12 13 14 |
# File 'lib/gdk/command/reset_data.rb', line 9 def run(_ = []) return false unless continue? return false unless stop_and_backup! reset_data! end |