Class: Molflow::CLI::Install

Inherits:
Thor::Group
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/molflow/cli/install.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.source_rootObject



13
14
15
# File 'lib/molflow/cli/install.rb', line 13

def self.source_root
  File.expand_path('../install', __FILE__)
end

Instance Method Details

#completeObject



25
26
27
# File 'lib/molflow/cli/install.rb', line 25

def complete
  say('COMPLETE!', :green)
end

#create_configurationObject



17
18
19
20
21
22
23
# File 'lib/molflow/cli/install.rb', line 17

def create_configuration
  @site = ask('Atlassian site: ')
  @username = ask('Atlassian username: ')
  @password = ask('Atlassian password: ')

  template('molflow', options[:path])
end