Class: Larrow::Runner::Cli::Build

Inherits:
Thor
  • Object
show all
Defined in:
lib/larrow/runner/cli/build.rb

Instance Method Summary collapse

Instance Method Details

#image(url) ⇒ Object



32
33
34
35
36
# File 'lib/larrow/runner/cli/build.rb', line 32

def image url
  RunOption.update options
  RunLogger.nocolor if RunOption.key? :nocolor
  Manager.new(url).build_image
end

#server(url) ⇒ Object



15
16
17
18
19
20
# File 'lib/larrow/runner/cli/build.rb', line 15

def server url
  RunOption.update options
  RunOption[:keep] = true
  RunLogger.nocolor if RunOption.key? :nocolor
  Manager.new(url).build_server
end