Sha256: ed2fd427ec3f9ff93aa3b5f1fd5c608f601e167e4ec20c97e330bbeb1e664c2b

Contents?: true

Size: 566 Bytes

Versions: 5

Compression:

Stored size: 566 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 %>:
<% for name, command in @commands.sort -%>
  <% unless alias? name %>
    <%= "%-#{max_command_length}s %s" % [command.name, command.summary || command.description] -%>
  <% end -%>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
commander-openflighthpc-1.1.2 lib/commander/help_formatters/terminal/subcommand_help.erb
commander-openflighthpc-1.1.1 lib/commander/help_formatters/terminal/subcommand_help.erb
commander-openflighthpc-1.1.0 lib/commander/help_formatters/terminal/subcommand_help.erb
commander-openflighthpc-1.0.0 lib/commander/help_formatters/terminal/subcommand_help.erb
commander-openflighthpc-1.0.0.pre.alpha1 lib/commander/help_formatters/terminal/subcommand_help.erb