Sha256: 049fb562b208b6b016ed0df274fae9901c1ce8a168ecc9ce561a0d1f101f79fe

Contents?: true

Size: 620 Bytes

Versions: 3

Compression:

Stored size: 620 Bytes

Contents

require 'r10k/cli'
require 'cri'

module R10K::CLI
  module Environment
    def self.command
      @cmd ||= Cri::Command.define do
        name  'environment'
        usage 'environment <subcommand>'
        summary 'DEPRECATED: Operate on a specific environment'

        required :c, :config, 'Specify a configuration file'

        be_hidden

        run do |opts, args, cmd|
          puts cmd.help
          exit 0
        end
      end
    end
  end
  self.command.add_command(Environment.command)
end

require 'r10k/cli/environment/list'
require 'r10k/cli/environment/deploy'
require 'r10k/cli/environment/stale'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
r10k-1.0.0rc3 lib/r10k/cli/environment.rb
r10k-1.0.0rc2 lib/r10k/cli/environment.rb
r10k-1.0.0rc1 lib/r10k/cli/environment.rb