Class PuppetLint::Bin
In: lib/puppet-lint/bin.rb
Parent: Object

Internal: The logic of the puppet-lint bin script, contained in a class for ease of testing.

Methods

new   run  

Public Class methods

Public: Initialise a new PuppetLint::Bin.

args - An Array of command line argument Strings to be passed to the option

       parser.

Examples

  PuppetLint::Bin.new(ARGV).run

Public Instance methods

Public: Run puppet-lint as a command line tool.

Returns an Integer exit code to be passed back to the shell.

[Validate]