Sha256: 38b844e23370c1e0c33c3f498e6ec17982ed311cd81a027f8a9ce3d415bb522f

Contents?: true

Size: 620 Bytes

Versions: 1

Compression:

Stored size: 620 Bytes

Contents

  <%= $terminal.color "NAME", :bold %>:
    <%= @name %>

  <%= $terminal.color "VERSION", :bold %>:
    <%= @version %>

  <%= $terminal.color "DESCRIPTION", :bold %>:
    <%= @description %>

  <%= $terminal.color "COMMANDS", :bold %>:
    <% @commands.sort{|a,b| a.value_of_name <=> b.value_of_name}.each do |c| -%>
    <%= "%-20s %s" % [c.value_of_name, c.value_of_description] %>
    <% end %>

<% unless @options.empty? -%>
  <%= $terminal.color "GLOBAL OPTIONS", :bold %>:
	<% for option in @options -%>
    
    <%= option.help_keys.join ', ' %> 
        <%= option.value_of_description %>
	<% end -%>
<% end -%>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rcoli-0.5.0 lib/rcoli/templates/help.erb