diff options
| author | Daniel Pittman <daniel@puppetlabs.com> | 2011-06-01 14:17:11 -0700 |
|---|---|---|
| committer | Daniel Pittman <daniel@puppetlabs.com> | 2011-06-01 16:28:15 -0700 |
| commit | 2389bdf85bf0ae26110666ff34680d057acc32ff (patch) | |
| tree | 2bd490ec3a945cdf5137d8491ae2a91502793950 /lib/puppet/application | |
| parent | e647f70cbde1735af0710d07fc704448f5a8dcd8 (diff) | |
| download | puppet-2389bdf85bf0ae26110666ff34680d057acc32ff.tar.gz puppet-2389bdf85bf0ae26110666ff34680d057acc32ff.tar.xz puppet-2389bdf85bf0ae26110666ff34680d057acc32ff.zip | |
(#7683) Add a 'man' face and subcommand to Puppet.
This is the minimal wrapper, cloning a good deal of the logic from help, that
runs our face through the 'man' template and returns ronn-formatted Markdown.
This provides the crudest baseline possible for getting man-style output, but
lets us move forward to improve behaviour.
Reviewed-By: Nick Fagerlund <nick.fagerlund@puppetlabs.com>
Diffstat (limited to 'lib/puppet/application')
| -rw-r--r-- | lib/puppet/application/man.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/puppet/application/man.rb b/lib/puppet/application/man.rb new file mode 100644 index 000000000..1ecc4d691 --- /dev/null +++ b/lib/puppet/application/man.rb @@ -0,0 +1,4 @@ +require 'puppet/application/face_base' + +class Puppet::Application::Man < Puppet::Application::FaceBase +end |
