Sha256: 8f4e2c1d7ee920ca4364677669dde7fd06f9b22d38e6f573a92c8e0b221d49a6

Contents?: true

Size: 659 Bytes

Versions: 18

Compression:

Stored size: 659 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 %>:
	<% for description, command in @examples -%>

    # <%= description %>
    <%= command %>
	<% end -%>
<% end -%>
<% unless @options.empty? -%>

  <%= $terminal.color "OPTIONS", :bold %>:
	<% for option in @options -%>

    <%= option[:switches].join ', ' %> 
        <%= option[:description] %>
	<% end -%>
<% end -%>

Version data entries

18 entries across 18 versions & 4 rubygems

Version Path
crishoj-commander-3.3.0 lib/commander/help_formatters/terminal/command_help.erb
ktec-commander-3.3.1 lib/commander/help_formatters/terminal/command_help.erb
visionmedia-commander-3.2.2 lib/commander/help_formatters/terminal/command_help.erb
visionmedia-commander-3.2.3 lib/commander/help_formatters/terminal/command_help.erb
visionmedia-commander-3.2.4 lib/commander/help_formatters/terminal/command_help.erb
visionmedia-commander-3.2.5 lib/commander/help_formatters/terminal/command_help.erb
visionmedia-commander-3.2.6 lib/commander/help_formatters/terminal/command_help.erb
visionmedia-commander-3.2.7 lib/commander/help_formatters/terminal/command_help.erb
visionmedia-commander-3.2.8 lib/commander/help_formatters/terminal/command_help.erb
visionmedia-commander-3.2.9 lib/commander/help_formatters/terminal/command_help.erb
commander-4.0.6 lib/commander/help_formatters/terminal/command_help.erb
commander-4.0.5 lib/commander/help_formatters/terminal/command_help.erb
commander-4.0.4 lib/commander/help_formatters/terminal/command_help.erb
commander-4.0.3 lib/commander/help_formatters/terminal/command_help.erb
commander-4.0.2 lib/commander/help_formatters/terminal/command_help.erb
commander-4.0.1 lib/commander/help_formatters/terminal/command_help.erb
commander-4.0.0 lib/commander/help_formatters/terminal/command_help.erb
commander-3.3.0 lib/commander/help_formatters/terminal/command_help.erb