Sha256: 489ef270b38bc3858d63fc3e958178212581693d2d34331c2c5f5f18236dc66c

Contents?: true

Size: 569 Bytes

Versions: 30

Compression:

Stored size: 569 Bytes

Contents

require 'r10k/cli/environment'
require 'r10k/cli/deploy'
require 'cri'

module R10K::CLI::Environment
  module List
    def self.command
      @cmd ||= Cri::Command.define do
        name  'list'
        usage 'list'
        summary 'DEPRECATED: List all available 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.5.1 lib/r10k/cli/environment/list.rb
r10k-1.4.2 lib/r10k/cli/environment/list.rb
r10k-1.4.1 lib/r10k/cli/environment/list.rb
r10k-1.4.0 lib/r10k/cli/environment/list.rb
r10k-1.3.5 lib/r10k/cli/environment/list.rb
r10k-1.3.4 lib/r10k/cli/environment/list.rb
r10k-1.2.4 lib/r10k/cli/environment/list.rb
r10k-1.3.3 lib/r10k/cli/environment/list.rb
r10k-1.3.2 lib/r10k/cli/environment/list.rb
r10k-1.2.3 lib/r10k/cli/environment/list.rb
r10k-1.3.1 lib/r10k/cli/environment/list.rb
r10k-1.2.2 lib/r10k/cli/environment/list.rb
r10k-1.3.0 lib/r10k/cli/environment/list.rb
r10k-1.3.0rc1 lib/r10k/cli/environment/list.rb
r10k-1.2.1 lib/r10k/cli/environment/list.rb
r10k-1.2.0 lib/r10k/cli/environment/list.rb
r10k-1.2.0rc2 lib/r10k/cli/environment/list.rb
r10k-1.1.4 lib/r10k/cli/environment/list.rb
r10k-1.2.0rc1 lib/r10k/cli/environment/list.rb
r10k-1.1.3 lib/r10k/cli/environment/list.rb