Sha256: f2f26783aa59fad494278936a1432f61483bedaa7d706535f8e363dafdceb596

Contents?: true

Size: 538 Bytes

Versions: 9

Compression:

Stored size: 538 Bytes

Contents

  <%= @name %>
<% if @syntax -%>

  Usage: <%= @syntax %>
<% end -%>
<% if @description || @summary -%>

  <%= @description || @summary %>
<% end -%>
<% unless @examples.empty? -%>

  Examples:
	<% for description, command in @examples -%>

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

  Options:
<% for option in @options -%>
    <%= "%-20s %s" % [option[:switches].join(', '), option[:description]] %><% if option[:default] %> <%= option[:default] %><% end %>
<% end -%>
<% end -%>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
commander-openflighthpc-2.0.2 lib/commander/help_formatters/terminal_compact/command_help.erb
commander-openflighthpc-2.0.1 lib/commander/help_formatters/terminal_compact/command_help.erb
commander-openflighthpc-2.0.0 lib/commander/help_formatters/terminal_compact/command_help.erb
commander-openflighthpc-1.2.0 lib/commander/help_formatters/terminal_compact/command_help.erb
commander-openflighthpc-1.1.2 lib/commander/help_formatters/terminal_compact/command_help.erb
commander-openflighthpc-1.1.1 lib/commander/help_formatters/terminal_compact/command_help.erb
commander-openflighthpc-1.1.0 lib/commander/help_formatters/terminal_compact/command_help.erb
commander-openflighthpc-1.0.0 lib/commander/help_formatters/terminal_compact/command_help.erb
commander-openflighthpc-1.0.0.pre.alpha1 lib/commander/help_formatters/terminal_compact/command_help.erb