Sha256: c622f0b7912936cc7ebbda54d0bf563cf32db01cba117a32692d468874e8e65c

Contents?: true

Size: 344 Bytes

Versions: 17

Compression:

Stored size: 344 Bytes

Contents

require "thor"

module Dogids
  class Cli < Thor
    no_commands do
      def ssh_development(vm_name = nil)
        if vm_name == "dev"
          puts "Running: ssh -R 52698:localhost:52698 dogids@55.55.55.20"
          exec("ssh -R 52698:localhost:52698 dogids@55.55.55.20")
        else
          ssh
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
dogids-cli-0.0.18 lib/dogids/ssh/development.rb
dogids-cli-0.0.17 lib/dogids/ssh/development.rb
dogids-cli-0.0.16 lib/dogids/ssh/development.rb
dogids-cli-0.0.15 lib/dogids/ssh/development.rb
dogids-cli-0.0.14 lib/dogids/ssh/development.rb
dogids-cli-0.0.13 lib/dogids/ssh/development.rb
dogids-cli-0.0.12 lib/dogids/ssh/development.rb
dogids-cli-0.0.11 lib/dogids/ssh/development.rb
dogids-cli-0.0.10 lib/dogids/ssh/development.rb
dogids-cli-0.0.9 lib/dogids/ssh/development.rb
dogids-cli-0.0.8 lib/dogids/ssh/development.rb
dogids-cli-0.0.7 lib/dogids/ssh/development.rb
dogids-cli-0.0.6 lib/dogids/ssh/development.rb
dogids-cli-0.0.5 lib/dogids/ssh/development.rb
dogids-cli-0.0.4 lib/dogids/ssh/development.rb
dogids-cli-0.0.3 lib/dogids/ssh/development.rb
dogids-cli-0.0.2 lib/dogids/ssh/development.rb