Sha256: aa3475b748f462759672298d8fd4c0d3610ae070058e8f32217d6141d34ccfa9
Contents?: true
Size: 768 Bytes
Versions: 8
Compression:
Stored size: 768 Bytes
Contents
desc 'shell TARGET', 'Open a shell on a Capistrano deploy target' long_desc <<-LONGDESC Example: `geordi shell production` Selecting the server: `geordi shell staging -s` shows a menu with all available servers. When passed a number, directly connects to the selected server. LONGDESC # This option is duplicated in console.rb option :select_server, type: :string, aliases: '-s', banner: '[SERVER_NUMBER]', desc: 'Select a server to connect to' # 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' invoke_geordi 'bundle_install' Interaction.announce 'Opening a shell on ' + target Geordi::Remote.new(target).shell(options) end
Version data entries
8 entries across 8 versions & 1 rubygems