Class: Molflow::CLI::Install
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Molflow::CLI::Install
- Includes:
- Thor::Actions
- Defined in:
- lib/molflow/cli/install.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
13 14 15 |
# File 'lib/molflow/cli/install.rb', line 13 def self.source_root File.('../install', __FILE__) end |
Instance Method Details
#complete ⇒ Object
25 26 27 |
# File 'lib/molflow/cli/install.rb', line 25 def complete say('COMPLETE!', :green) end |
#create_configuration ⇒ Object
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', [:path]) end |