Sha256: 9e2bc97a89565a9ccb037a27d73515933eb295f9f0aa2903ede55b1df39ad228
Contents?: true
Size: 849 Bytes
Versions: 7
Compression:
Stored size: 849 Bytes
Contents
<% if !@syntax -%> <%= $terminal.color "NAME", :bold %>: <%= @name %> <% else -%> <%= $terminal.color "SYNOPSIS", :bold %>: <%= syntax -%> <% end -%> <%= $terminal.color "DESCRIPTION", :bold %>: <%= Commander::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 ', ' %> <%= Commander::HelpFormatter.indent 8, option[:description] %><% if option[:default] %> <%= $terminal.color "Default", :bold %>: <%= option[:default] %><% end %> <% end -%> <% end -%>
Version data entries
7 entries across 7 versions & 1 rubygems