Sha256: 8c45067628f8c0251834f52a8ef24672895c9cdeef863b221a9f8bedd616a1d4
Contents?: true
Size: 665 Bytes
Versions: 13
Compression:
Stored size: 665 Bytes
Contents
<%= $terminal.color "NAME", :bold %>: <%= @name %> <%= $terminal.color "DESCRIPTION", :bold %>: <%= @description || @summary || 'No description.' -%> <% if @syntax -%> <%= $terminal.color "SYNOPSIS", :bold %>: <%= @syntax -%> <% end -%> <% unless @examples.empty? -%> <%= $terminal.color "EXAMPLES", :bold %>: <% @examples.each do |description, command| -%> # <%= description %> <%= command %> <% end -%> <% end -%> <% unless @options.empty? -%> <%= $terminal.color "OPTIONS", :bold %>: <% @options.each do |option| -%> <%= option[:switches].join ', ' %> <%= option[:description] %> <% end -%> <% end -%>
Version data entries
13 entries across 13 versions & 1 rubygems