Class: LabelWeaver::CLI::Actions::Develop::Stop
- Inherits:
-
Sod::Action
- Object
- Sod::Action
- LabelWeaver::CLI::Actions::Develop::Stop
- Defined in:
- lib/label_weaver/cli/actions/develop/stop.rb
Instance Method Summary collapse
Instance Method Details
#call(*args) ⇒ Object
19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/label_weaver/cli/actions/develop/stop.rb', line 19 def call(*args) unless xdg_config.active logger.error("No configuration found. Are you in the correct directory?") kernel.exit(1) end Hooks.new.run(:develop, :before_stop) restore_merged_files remove_base_files Hooks.new.run(:develop, :after_stop) end |