Sha256: 3d9e3654f99370f75f6ef62e9d02db085a2387a6a768d7f414d61ab331c6b96a

Contents?: true

Size: 600 Bytes

Versions: 4

Compression:

Stored size: 600 Bytes

Contents

<% if !cmd.syntax %>
  <%= $terminal.color "NAME", :bold %>:

    <%= cmd.name %>
<% else -%>
  <%= $terminal.color "SYNOPSIS", :bold %>:

    <%= cmd.syntax -%>

<% end -%>

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

    <%= Commander::HelpFormatter.indent 4, (cmd.description || cmd.summary || 'No description.') -%>


  <%= $terminal.color "SUBCOMMANDS", :bold %>:
<% @commands.values.sort.map { |c| [c.name, c] }.each do |name, command| -%>
  <% unless alias? name %>
    <%= "%-#{max_command_length}s %s" % [command.name, command.summary || command.description] -%>
  <% end -%>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
commander-openflighthpc-2.0.2 lib/commander/help_formatters/terminal/subcommand_help.erb
commander-openflighthpc-2.0.1 lib/commander/help_formatters/terminal/subcommand_help.erb
commander-openflighthpc-2.0.0 lib/commander/help_formatters/terminal/subcommand_help.erb
commander-openflighthpc-1.2.0 lib/commander/help_formatters/terminal/subcommand_help.erb