Sha256: d817d49de4cffaf6ecd036fceb7945ee596afe9b8e3c513accca45e16f93b6b2

Contents?: true

Size: 290 Bytes

Versions: 28

Compression:

Stored size: 290 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
          li "No machines"
        end
      end

    end
  end
end

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
solutious-rudy-0.9.4 lib/rudy/cli/candy.rb
rudy-0.9.8.020 lib/rudy/cli/candy.rb
rudy-0.9.8.019 lib/rudy/cli/candy.rb
rudy-0.9.8.018 lib/rudy/cli/candy.rb
rudy-0.9.8.017 lib/rudy/cli/candy.rb
rudy-0.9.8.016 lib/rudy/cli/candy.rb
rudy-0.9.8.015 lib/rudy/cli/candy.rb
rudy-0.9.8.014 lib/rudy/cli/candy.rb
rudy-0.9.8.013 lib/rudy/cli/candy.rb
rudy-0.9.8.012 lib/rudy/cli/candy.rb
rudy-0.9.8.011 lib/rudy/cli/candy.rb
rudy-0.9.8.010 lib/rudy/cli/candy.rb
rudy-0.9.8.009 lib/rudy/cli/candy.rb
rudy-0.9.8.008 lib/rudy/cli/candy.rb
rudy-0.9.8.007 lib/rudy/cli/candy.rb
rudy-0.9.8.006 lib/rudy/cli/candy.rb
rudy-0.9.8.005 lib/rudy/cli/candy.rb
rudy-0.9.8.004 lib/rudy/cli/candy.rb
rudy-0.9.8.003 lib/rudy/cli/candy.rb
rudy-0.9.8.002 lib/rudy/cli/candy.rb