Class: Referee::CLI
- Inherits:
-
Object
- Object
- Referee::CLI
- 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
- #execute ⇒ Object
-
#initialize(args) ⇒ CLI
constructor
A new instance of CLI.
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
#execute ⇒ Object
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 |