Class: Teapot::Command::Build

Inherits:
Samovar::Command
  • Object
show all
Defined in:
lib/teapot/command.rb

Instance Method Summary collapse

Instance Method Details

#invoke(parent) ⇒ Object



121
122
123
124
125
126
# File 'lib/teapot/command.rb', line 121

def invoke(parent)
  # TODO: This is a bit of a hack, figure out a way to pass it directly through to build subsystem.
  ARGV.replace(@argv) if @argv
  
  parent.controller.build(@targets)
end