Path: | lib/commander/help_formatters/terminal_compact/command_help.erb |
Last Update: | Tue Feb 05 11:39:06 -0500 2013 |
<%= @name %>
<% if @description || @summary -%>
<%= @description || @summary %>
<% end -%> <% if @syntax -%>
Usage: <%= @syntax %>
<% end -%> <% unless @examples.empty? -%>
Examples: <% for description, command in @examples -%> # <%= description %> <%= command %> <% end -%>
<% end -%> <% unless @options.empty? -%>
Options:
<% for option in @options -%>
<%= "%-20s %s" % [option[:switches].join(', '), option[:description]] %>
<% end -%> <% end -%>