Module: R10K::CLI::Deploy

Defined in:
lib/r10k/cli/deploy.rb

Defined Under Namespace

Modules: Display, Environment, Module

Class Method Summary collapse

Class Method Details

.commandObject



13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# File 'lib/r10k/cli/deploy.rb', line 13

def self.command
  @cmd ||= Cri::Command.define do
    name    'deploy'
    usage   'deploy <subcommand>'
    summary 'Puppet dynamic environment deployment'

    description "`r10k deploy` implements the Git branch to Puppet environment workflow\n(https://puppetlabs.com/blog/git-workflow-and-puppet-environments/).\n    DESCRIPTION\n\n    required nil, :cachedir, 'Specify a cachedir, overriding the value in config'\n    flag nil, :'no-force', 'Prevent the overwriting of local module modifications'\n\n    run do |opts, args, cmd|\n      puts cmd.help(:verbose => opts[:verbose])\n      exit 0\n    end\n  end\nend\n"