Class: AppCommand::SSH
- Inherits:
-
Convoy::ActionCommand::Base
- Object
- Convoy::ActionCommand::Base
- AppCommand::SSH
- Defined in:
- lib/routes/ssh.rb
Constant Summary collapse
- CONFIGURATION_PREFIX =
'ssh_'
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/routes/ssh.rb', line 7 def execute @opts = @args = arguments opts_validate opts_routing end |
#opts_routing ⇒ Object
21 22 23 24 25 |
# File 'lib/routes/ssh.rb', line 21 def opts_routing ssh_into_server end |
#opts_validate ⇒ Object
17 18 19 |
# File 'lib/routes/ssh.rb', line 17 def opts_validate end |
#ssh_into_server ⇒ Object
27 28 29 30 31 |
# File 'lib/routes/ssh.rb', line 27 def ssh_into_server App::SSH::ssh_into_remote(@args[0]) end |