Class: Skynet::Wizard

Inherits:
Thor::Shell::Basic
  • Object
show all
Defined in:
lib/skynet/wizard.rb

Instance Method Summary collapse

Instance Method Details

#runObject



6
7
8
9
10
11
12
13
14
15
# File 'lib/skynet/wizard.rb', line 6

def run
  [
    "#{ask('Project name:').downcase}:",
    "  url: #{repository_url}",
    "  type: #{build_type}",
    private_key,
    branches,
    "\n"
  ].compact.join "\n"
end