Class: LabelWeaver::CLI::Actions::Develop::Start
- Inherits:
-
Sod::Action
- Object
- Sod::Action
- LabelWeaver::CLI::Actions::Develop::Start
- Defined in:
- lib/label_weaver/cli/actions/develop/start.rb
Instance Method Summary collapse
Instance Method Details
#call(*args) ⇒ Object
19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/label_weaver/cli/actions/develop/start.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_start) repo.clone_or_update(always_clone: configuration.always_clone) copy_repository_files handle_file_merges Hooks.new.run(:develop, :after_start) end |