Class: VMCConsole::Console

Inherits:
VMC::CLI
  • Object
show all
Defined in:
lib/console-vmc-plugin/plugin.rb

Instance Method Summary collapse

Instance Method Details

#consoleObject



11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'lib/console-vmc-plugin/plugin.rb', line 11

def console
  app = input[:app]

  console = CFConsole.new(client, app)
  port = console.pick_port!(input[:port])

  with_progress("Opening console on port #{c(port, :name)}") do
    console.open!
    console.wait_for_start
  end

  console.start_console
end