summaryrefslogtreecommitdiffstats
path: root/lib/puppet/application
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@puppetlabs.com>2011-04-04 16:46:09 -0700
committerDaniel Pittman <daniel@puppetlabs.com>2011-04-12 16:12:07 -0700
commit1b4d7a51d10b217c7f67f3876242fff6dc694faa (patch)
tree5e21cfebd6478f29e1cffc817ce96b69e981418a /lib/puppet/application
parentd8dfb1f143ba3e602bec387508c8dad7aab00062 (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.rb7
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