Method: Escualo::Script.delegated_options
- Defined in:
- lib/escualo/script.rb
.delegated_options(options) ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/escualo/script.rb', line 7 def self.() [.hostname.try { |it| "--hostname #{it}" }, .username.try { |it| "--username #{it}" }, .password.try { |it| "--password #{it}" }, .ssh_key.try { |it| "--ssh-key #{it}" }, .ssh_port.try { |it| "--ssh-port #{it}" }, .trace && '--trace', .verbose && '--verbose' ].compact.join(' ') end |