summaryrefslogtreecommitdiffstats
path: root/bin/pi
blob: c1a59631ea79fd4ba10a34721b42664f16a2aa59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/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 Reductive Labs, LLC
# Licensed under the GNU Public License

require 'puppet/application/pi'

Puppet::Application[:pi].run