Class: DoraBox::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/doraBox/cli.rb

Instance Method Summary collapse

Instance Method Details

#single(module_name) ⇒ Object



20
21
22
23
24
25
26
27
# File 'lib/doraBox/cli.rb', line 20

def single(module_name)
  config = FileOperator.load_cached_modules_config

  if config
    branch_name = config["branchName"]
    PodFileHelper.handle_pod_file([module_name],branch_name)
  end
end

#start_modulesObject



12
13
14
15
16
17
# File 'lib/doraBox/cli.rb', line 12

def start_modules

  modules = FileOperator.get_stdin_modified_modules
  branch_name = FileOperator.get_stdin_branch_name
  PodFileHelper.handle_pod_file(modules,branch_name)
end