X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=lib%2Fmcollective%2Fgenerators%2Ftemplates%2Faction_snippet.erb;fp=lib%2Fmcollective%2Fgenerators%2Ftemplates%2Faction_snippet.erb;h=9b43f680618a66492ad219be931d7661ad4b85f0;hb=b87d2f4e68281062df1913440ca5753ae63314a9;hp=0000000000000000000000000000000000000000;hpb=ab0ea530b8ac956091f17b104ab2311336cfc250;p=packages%2Fprecise%2Fmcollective.git diff --git a/lib/mcollective/generators/templates/action_snippet.erb b/lib/mcollective/generators/templates/action_snippet.erb new file mode 100644 index 0000000..9b43f68 --- /dev/null +++ b/lib/mcollective/generators/templates/action_snippet.erb @@ -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%"