Sha256: 4e40c3d6877696159de0417836a1a1907b98fb5fc24f5dfad46b7ae703100c88
Contents?: true
Size: 743 Bytes
Versions: 7
Compression:
Stored size: 743 Bytes
Contents
<%= $terminal.color "NAME", :bold %>: <%= @name %> <% if @syntax -%> <%= $terminal.color "SYNOPSIS", :bold %>: <%= @syntax -%> <% end -%> <%= $terminal.color "DESCRIPTION", :bold %>: <%= SimpleCommander::HelpFormatter.indent 4, (@description || @summary || 'No description.') -%> <% unless @examples.empty? -%> <%= $terminal.color "EXAMPLES", :bold %>: <% for description, command in @examples -%> # <%= description %> <%= command %> <% end -%> <% end -%> <% unless @options.empty? -%> <%= $terminal.color "OPTIONS", :bold %>: <% for option in @options -%> <%= option[:switches].join ', ' %> <%= SimpleCommander::HelpFormatter.indent 8, option[:description] %> <% end -%> <% end -%>
Version data entries
7 entries across 7 versions & 1 rubygems