Updated mcollective.init according to OSCI-658
[packages/precise/mcollective.git] / lib / mcollective / generators / templates / action_snippet.erb
diff --git a/lib/mcollective/generators/templates/action_snippet.erb b/lib/mcollective/generators/templates/action_snippet.erb
new file mode 100644 (file)
index 0000000..9b43f68
--- /dev/null
@@ -0,0 +1,13 @@
+     # Example Input
+     input :name,
+           :prompt => "%PROMPT%",
+           :description => "%DESCRIPTION%",
+           :type => %TYPE%,
+           :validation => '%VALIDATION%',
+           :optional => %OPTIONAL%,
+           :maxlength => %MAXLENGTH%
+
+     # Example output
+     output :name,
+            :description => "%DESCRIPTION%",
+            :display_as => "%DISPLAYAS%"