diff options
| author | Daniel Pittman <daniel@puppetlabs.com> | 2011-04-04 16:46:09 -0700 |
|---|---|---|
| committer | Daniel Pittman <daniel@puppetlabs.com> | 2011-04-12 16:12:07 -0700 |
| commit | 1b4d7a51d10b217c7f67f3876242fff6dc694faa (patch) | |
| tree | 5e21cfebd6478f29e1cffc817ce96b69e981418a /lib/puppet/application | |
| parent | d8dfb1f143ba3e602bec387508c8dad7aab00062 (diff) | |
(#6962) Create the basic shape of the help face.
This implements the basic help face, along with the start of the support
structures; we include the basic application, and the default help action that
just emits a listing of faces and other discovered stuff...
Reviewed-By: Matt Robinson <matt@puppetlabs.com>
Diffstat (limited to 'lib/puppet/application')
| -rw-r--r-- | lib/puppet/application/help.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/puppet/application/help.rb b/lib/puppet/application/help.rb new file mode 100644 index 000000000..69905af27 --- /dev/null +++ b/lib/puppet/application/help.rb @@ -0,0 +1,7 @@ +require 'puppet/application/faces_base' + +class Puppet::Application::Help < Puppet::Application::FacesBase + def render(result) + puts result.join("\n") + end +end |
