Method: VMC::Micro::Switcher::Base#status

Defined in:
lib/vmc/micro/switcher/base.rb

#statusObject



87
88
89
90
91
92
93
94
# File 'lib/vmc/micro/switcher/base.rb', line 87

def status
  mode = @vmrun.offline? ? 'offline' : 'online'
  say "Micro Cloud Foundry VM currently in #{mode.green} mode"
  # should the VMX path be unescaped?
  say "VMX Path: #{@vmrun.vmx}"
  say "Domain: #{@vmrun.domain.green}"
  say "IP Address: #{@vmrun.ip.green}"
end