Sha256: 29bf6f4910ceb0a14b4d1c70ca2ac624fc26e9776a3f078ad86289f64d8954a5

Contents?: true

Size: 298 Bytes

Versions: 4

Compression:

Stored size: 298 Bytes

Contents

module Rudy
  module CLI
    class Candy < Rudy::CLI::CommandBase
      
      def open
        machines = Rudy::Machines.list
        
        if machines
          `open http://#{machines.first.dns_public}`
        else
          puts "No machines"
        end
      end
      
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
solutious-rudy-0.9.0 lib/rudy/cli/candy.rb
solutious-rudy-0.9.1 lib/rudy/cli/candy.rb
rudy-0.9.0 lib/rudy/cli/candy.rb
rudy-0.9.1 lib/rudy/cli/candy.rb