Sha256: f2dbcd7f053f5daa815fb306c909a3508e54348f76292c20642d7693c8934a89

Contents?: true

Size: 448 Bytes

Versions: 6

Compression:

Stored size: 448 Bytes

Contents

desc 'vnc', 'Show the hidden VNC window'
long_desc <<-LONGDESC
Example: `geordi vnc` or `geordi vnc --setup`

Launch a VNC session to the hidden screen where `geordi cucumber` runs Selenium
tests.

When called with `--setup`, will guide through the setup of VNC.
LONGDESC

option :setup, type: :boolean

def vnc
  if options.setup
    invoke_cmd :_setup_vnc
  else
    require 'geordi/cucumber'
    Geordi::Cucumber.new.launch_vnc_viewer
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
geordi-3.2.0 lib/geordi/commands/vnc.rb
geordi-3.1.0 lib/geordi/commands/vnc.rb
geordi-3.0.3 lib/geordi/commands/vnc.rb
geordi-3.0.2 lib/geordi/commands/vnc.rb
geordi-3.0.1 lib/geordi/commands/vnc.rb
geordi-3.0.0 lib/geordi/commands/vnc.rb