X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=lib%2Fmcollective%2Fgenerators%2Ftemplates%2Fdata_input_snippet.erb;fp=lib%2Fmcollective%2Fgenerators%2Ftemplates%2Fdata_input_snippet.erb;h=7a3fab98f12db93bee52ea6d2371d3aa403e5c28;hb=b87d2f4e68281062df1913440ca5753ae63314a9;hp=0000000000000000000000000000000000000000;hpb=ab0ea530b8ac956091f17b104ab2311336cfc250;p=packages%2Fprecise%2Fmcollective.git diff --git a/lib/mcollective/generators/templates/data_input_snippet.erb b/lib/mcollective/generators/templates/data_input_snippet.erb new file mode 100644 index 0000000..7a3fab9 --- /dev/null +++ b/lib/mcollective/generators/templates/data_input_snippet.erb @@ -0,0 +1,7 @@ + input :query, + :prompt => "%PROMP%", + :description => "%DESCRIPTION%", + :type => %TYPE%, + :validation => %VALIDATION%, + :maxlength => %MAXLENGTH% +