Sha256: ccee1e77471aafb4b0deff3895cf998f3d1607460634420b323a9eeb7a58ec22

Contents?: true

Size: 479 Bytes

Versions: 13

Compression:

Stored size: 479 Bytes

Contents

# frozen_string_literal: true

require_relative 'base'

module RubyVault
  module Commands
    class List < Base
      # @!visibility private
      def subcommands
        %w[list]
      end

      # @!visibility private
      def options
        super +
          Options::Sets::HTTP_OPTIONS +
          Options::Sets::OUTPUT_OPTIONS
      end

      # @!visibility private
      def arguments(parameters)
        [parameters[:path]].compact.flatten
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ruby_vault-0.3.0.pre.2 lib/ruby_vault/commands/list.rb
ruby_vault-0.3.0.pre.1 lib/ruby_vault/commands/list.rb
ruby_vault-0.2.0 lib/ruby_vault/commands/list.rb
ruby_vault-0.2.0.pre.6 lib/ruby_vault/commands/list.rb
ruby_vault-0.2.0.pre.5 lib/ruby_vault/commands/list.rb
ruby_vault-0.2.0.pre.4 lib/ruby_vault/commands/list.rb
ruby_vault-0.2.0.pre.3 lib/ruby_vault/commands/list.rb
ruby_vault-0.2.0.pre.2 lib/ruby_vault/commands/list.rb
ruby_vault-0.2.0.pre.1 lib/ruby_vault/commands/list.rb
ruby_vault-0.1.0 lib/ruby_vault/commands/list.rb
ruby_vault-0.1.0.pre.18 lib/ruby_vault/commands/list.rb
ruby_vault-0.1.0.pre.17 lib/ruby_vault/commands/list.rb
ruby_vault-0.1.0.pre.16 lib/ruby_vault/commands/list.rb