Class: Referee::CLI

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

Overview

Command line interface. Thanks to pewpewthespells.com/blog/buildsettings.html for the list of valid Xcode build variables.

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ CLI



6
7
8
9
# File 'lib/referee/cli.rb', line 6

def initialize(args)
  @config = parse_args(args)
  validate_config
end

Instance Method Details

#executeObject



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

def execute
  build_output.info "referee v#{VERSION} starting..."
  load_project
  generate_code
end