#!/usr/bin/env ruby # # = Synopsis # # Print help about puppet types on the console. Run with '-h' to get detailed # help. # = Usage # # pi [-h|--help] [-s|--short] [-p|--providers] [-l|--list] [-m|--meta] # # = Description # # Prints details of Puppet types, providers and metaparameters on the console. # # = Options # # help:: # Print this help text # # providers:: # Describe providers in detail for each type # # list:: # List all types # # meta:: # List all metaparameters # # short:: # List only parameters without detail # # = Example # # pi --list # pi file --providers # pi user -s -m # # = Author # # David Lutterkort # # = Copyright # # Copyright (c) 2005 Puppet Labs, LLC # Licensed under the GNU Public License require 'puppet/application/pi' Puppet::Application[:pi].run