Sha256: bc0590f079f0a6ac8527bfdf2c216778f731b00879bed71f70b6b06ef6741e54

Contents?: true

Size: 579 Bytes

Versions: 30

Compression:

Stored size: 579 Bytes

Contents

require 'r10k/cli/module'
require 'r10k/cli/deploy'
require 'cri'

module R10K::CLI::Module
  module List
    def self.command
      @cmd ||= Cri::Command.define do
        name  'list'
        usage 'list'
        summary 'DEPRECATED: List modules that are instantiated in environments'

        be_hidden

        run do |opts, args, cmd|
          logger.warn "This command is deprecated; please use `r10k deploy display`"
          R10K::CLI::Deploy::Display.command.block.call(opts,args,cmd)
        end
      end
    end
  end
  self.command.add_command(List.command)
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
r10k-1.1.2 lib/r10k/cli/module/list.rb
r10k-1.1.1 lib/r10k/cli/module/list.rb
r10k-1.1.1rc1 lib/r10k/cli/module/list.rb
r10k-1.1.0 lib/r10k/cli/module/list.rb
r10k-1.1.0rc1 lib/r10k/cli/module/list.rb
r10k-1.0.0 lib/r10k/cli/module/list.rb
r10k-1.0.0rc4 lib/r10k/cli/module/list.rb
r10k-1.0.0rc3 lib/r10k/cli/module/list.rb
r10k-1.0.0rc2 lib/r10k/cli/module/list.rb
r10k-1.0.0rc1 lib/r10k/cli/module/list.rb