Class: Soaring::CLI

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

Class Method Summary collapse

Class Method Details

.start(argv) ⇒ Object



5
6
7
8
9
10
# File 'lib/soaring/cli.rb', line 5

def self.start(argv)
  @project_folder = Dir.pwd
  command, options = self.parse
  puts "#{command} with #{options}" if options[:verbose]
  self.send("execute_#{command}",options)
end