Sha256: 1b6859baca0e7b8e603cde9e6ec24214a7275f8b3bf133342dc54fa9f63dc853
Contents?: true
Size: 446 Bytes
Versions: 1
Compression:
Stored size: 446 Bytes
Contents
require "thor" module Dogids class Cli < Thor no_commands do def ssh_staging(vm_name = nil) if vm_name == "staging" ssh_address = get_config_url(vm_name) if ssh_address then puts "Running: ssh -R 52698:localhost:52698 dogids@#{ssh_address}" exec("ssh -R 52698:localhost:52698 dogids@#{ssh_address}") end else ssh end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dogids-cli-0.0.19 | lib/dogids/ssh/staging.rb |