Sha256: d737b5acc34883bf23ca62ff7a3bf65a2ebbaf4fff92868e262fd76314fbbddf
Contents?: true
Size: 593 Bytes
Versions: 39
Compression:
Stored size: 593 Bytes
Contents
desc 'shell TARGET', 'Open a shell on a Capistrano deploy target' long_desc <<-LONGDESC Example: `geordi shell production` Lets you select the server to connect to when called with `--select-server`: geordi shell production -s LONGDESC option :select_server, :default => false, :type => :boolean, :aliases => '-s' # This method has a triple 'l' because :shell is a Thor reserved word. However, # it can still be called with `geordi shell` :) def shelll(target, *args) require 'geordi/remote' announce 'Opening a shell on ' + target Geordi::Remote.new(target).shell(options) end
Version data entries
39 entries across 39 versions & 1 rubygems