Sha256: cddab25c1b347a8bccf2fdd1de144307935524a74ea1886d01e44be06fedaff9

Contents?: true

Size: 651 Bytes

Versions: 10

Compression:

Stored size: 651 Bytes

Contents

# frozen_string_literal: true

require 'rake_factory'

require_relative '../tasks'

module RakeSSH
  module TaskSets
    class Key < RakeFactory::TaskSet
      prepend RakeFactory::Namespaceable

      parameter :path, required: true
      parameter :name_prefix, default: 'ssh'
      parameter :type, default: 'RSA'
      parameter :bits, default: 4096
      parameter :comment
      parameter :passphrase

      parameter :argument_names

      parameter :generate_task_name, default: :generate

      task Tasks::Key::Generate,
           name: RakeFactory::DynamicValue.new { |ts|
             ts.generate_task_name
           }
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rake_ssh-0.13.0.pre.2 lib/rake_ssh/task_sets/key.rb
rake_ssh-0.13.0.pre.1 lib/rake_ssh/task_sets/key.rb
rake_ssh-0.12.0 lib/rake_ssh/task_sets/key.rb
rake_ssh-0.11.0.pre.5 lib/rake_ssh/task_sets/key.rb
rake_ssh-0.11.0.pre.4 lib/rake_ssh/task_sets/key.rb
rake_ssh-0.11.0.pre.3 lib/rake_ssh/task_sets/key.rb
rake_ssh-0.11.0.pre.2 lib/rake_ssh/task_sets/key.rb
rake_ssh-0.11.0.pre.1 lib/rake_ssh/task_sets/key.rb
rake_ssh-0.10.0 lib/rake_ssh/task_sets/key.rb
rake_ssh-0.9.0.pre.2 lib/rake_ssh/task_sets/key.rb