Module: R10K::CLI::Puppetfile::Check

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

Class Method Summary collapse

Class Method Details

.commandObject



43
44
45
46
47
48
49
50
# File 'lib/r10k/cli/puppetfile.rb', line 43

def self.command
  @cmd ||= Cri::Command.define do
    name  'check'
    usage 'check'
    summary 'Try and load the Puppetfile to verify the syntax is correct.'
    runner R10K::Action::Puppetfile::CriRunner.wrap(R10K::Action::Puppetfile::Check)
  end
end