Module: R10K::CLI::Puppetfile

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

Defined Under Namespace

Modules: Check, Install, Purge

Class Method Summary collapse

Class Method Details

.commandObject



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'lib/r10k/cli/puppetfile.rb', line 9

def self.command
  @cmd ||= Cri::Command.define do
    name    'puppetfile'
    usage   'puppetfile <subcommand>'
    summary 'Perform operations on a Puppetfile'

    description "`r10k puppetfile` provides an implementation of the librarian-puppet style\nPuppetfile (http://bombasticmonkey.com/librarian-puppet/).\n    DESCRIPTION\n\n    run do |opts, args, cmd|\n      puts cmd.help(:verbose => opts[:verbose])\n      exit 0\n    end\n  end\nend\n"