Sha256: bada665e6192d91e3aaa8489d3555fc1e9a9884d61b82fb75dccfada1ba39064

Contents?: true

Size: 648 Bytes

Versions: 27

Compression:

Stored size: 648 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(:verbose => opts[:verbose])
          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

27 entries across 27 versions & 1 rubygems

Version Path
r10k-1.1.2 lib/r10k/cli/environment.rb
r10k-1.1.1 lib/r10k/cli/environment.rb
r10k-1.1.1rc1 lib/r10k/cli/environment.rb
r10k-1.1.0 lib/r10k/cli/environment.rb
r10k-1.1.0rc1 lib/r10k/cli/environment.rb
r10k-1.0.0 lib/r10k/cli/environment.rb
r10k-1.0.0rc4 lib/r10k/cli/environment.rb