1 <%= meta[:name].upcase %> AGENT
2 <% (meta[:name].size + 7).times do %>=<% end %>
4 <%= meta[:description] %>
6 Author: <%= meta[:author] %>
7 Version: <%= meta[:version] %>
8 License: <%= meta[:license] %>
9 Timeout: <%= meta[:timeout] %>
10 Home Page: <%= meta[:url] %>
16 % actions.keys.sort.each do |action|
20 % actions.keys.sort.each do |action|
21 _<%= action %>_ action:
22 <% (action.size + 8).times do %>-<% end %>
23 <%= actions[action][:description] %>
25 % if actions[action][:input].keys.size > 0
28 % actions[action][:input].keys.sort.each do |input|
30 Description: <%= actions[action][:input][input][:description] %>
31 Prompt: <%= actions[action][:input][input][:prompt] %>
32 Type: <%= actions[action][:input][input][:type] %>
33 % if actions[action][:input][input][:type] == :string
34 Validation: <%= actions[action][:input][input][:validation] %>
35 Length: <%= actions[action][:input][input][:maxlength] %>
36 % elsif actions[action][:input][input][:type] == :list
37 Valid Values: <%= actions[action][:input][input][:list].join(", ") %>
43 % actions[action][:output].keys.sort.each do |output|
45 Description: <%= actions[action][:output][output][:description] %>
46 Display As: <%= actions[action][:output][output][:display_as] %>