Sha256: f14fa9f985463aecb137f5ceeb38b2eafda279394db859b8a33aac6f3b9947a3

Contents?: true

Size: 716 Bytes

Versions: 30

Compression:

Stored size: 716 Bytes

Contents

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

module R10K::CLI::Environment
  module Deploy
    def self.command
      @cmd ||= Cri::Command.define do
        name  'deploy'
        usage 'deploy <environment> <...>'
        summary 'DEPRECATED: Deploy an environment'

        flag :r, :recurse, 'Recursively update submodules'
        flag :u, :update, "Enable or disable cache updating"

        be_hidden

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

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
r10k-1.5.1 lib/r10k/cli/environment/deploy.rb
r10k-1.4.2 lib/r10k/cli/environment/deploy.rb
r10k-1.4.1 lib/r10k/cli/environment/deploy.rb
r10k-1.4.0 lib/r10k/cli/environment/deploy.rb
r10k-1.3.5 lib/r10k/cli/environment/deploy.rb
r10k-1.3.4 lib/r10k/cli/environment/deploy.rb
r10k-1.2.4 lib/r10k/cli/environment/deploy.rb
r10k-1.3.3 lib/r10k/cli/environment/deploy.rb
r10k-1.3.2 lib/r10k/cli/environment/deploy.rb
r10k-1.2.3 lib/r10k/cli/environment/deploy.rb
r10k-1.3.1 lib/r10k/cli/environment/deploy.rb
r10k-1.2.2 lib/r10k/cli/environment/deploy.rb
r10k-1.3.0 lib/r10k/cli/environment/deploy.rb
r10k-1.3.0rc1 lib/r10k/cli/environment/deploy.rb
r10k-1.2.1 lib/r10k/cli/environment/deploy.rb
r10k-1.2.0 lib/r10k/cli/environment/deploy.rb
r10k-1.2.0rc2 lib/r10k/cli/environment/deploy.rb
r10k-1.1.4 lib/r10k/cli/environment/deploy.rb
r10k-1.2.0rc1 lib/r10k/cli/environment/deploy.rb
r10k-1.1.3 lib/r10k/cli/environment/deploy.rb