Module: Dapp::CLI::Options::Ssh
- Included in:
- Dimg::CLI::Command::Dimg::Bp, Dimg::CLI::Command::Dimg::Build, Dimg::CLI::Command::Dimg::Run, Kube::CLI::Command::Kube::Deploy
- Defined in:
- lib/dapp/cli/options/ssh.rb
Class Method Summary collapse
Class Method Details
.extended(klass) ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/dapp/cli/options/ssh.rb', line 5 def self.extended(klass) klass.class_eval do option :ssh_key, long: '--ssh-key SSH_KEY', description: ['Enable only specified ssh keys ', '(use system ssh-agent by default)'].join, default: nil, proc: ->(v) { (:ssh_key) << v } end end |