Sha256: 2d82858ffbec7288f9d97724d49c9e1b262684f7f58230a87ff30744f6a7f767

Contents?: true

Size: 764 Bytes

Versions: 28

Compression:

Stored size: 764 Bytes

Contents

  <%= program :name %>

  <%= program :description %>

  Commands:
<% for name, command in @commands.sort -%>
<% unless alias? name -%>
    <%= "%-#{max_command_length}s %s" % [command.name, command.summary || command.description] %>
<% end -%>
<% end -%>
<% unless @aliases.empty? %>
  Aliases:
<% for alias_name, args in @aliases.sort -%>
    <%= "%-#{max_aliases_length}s %s %s" % [alias_name, command(alias_name).name, args.join(' ')] %>
<% end -%>
<% end %>
<% unless @options.empty? -%>
  Global Options:
<% for option in @options -%>
    <%= "%-20s %s" % [option[:switches].join(', '), option[:description]] -%> 
<% end -%>
<% end -%>
<% if program :help -%>
  <% for title, body in program(:help) %>
  <%= title %>:
    <%= body %>
  <% end %>
<% end -%>

Version data entries

28 entries across 28 versions & 4 rubygems

Version Path
commander-5.0.0 lib/commander/help_formatters/terminal_compact/help.erb
commander-4.6.0 lib/commander/help_formatters/terminal_compact/help.erb
commander-4.5.2 lib/commander/help_formatters/terminal_compact/help.erb
commander-4.5.1 lib/commander/help_formatters/terminal_compact/help.erb
commander-4.5.0 lib/commander/help_formatters/terminal_compact/help.erb
commander-4.4.7 lib/commander/help_formatters/terminal_compact/help.erb
murano-cli-commander-4.4.10 lib/murano-cli-commander/help_formatters/terminal_compact/help.erb
commander-4.4.6 lib/commander/help_formatters/terminal_compact/help.erb
commander-4.4.5 lib/commander/help_formatters/terminal_compact/help.erb
commander-4.4.4 lib/commander/help_formatters/terminal_compact/help.erb
commander-4.4.3 lib/commander/help_formatters/terminal_compact/help.erb
simple_commander-0.6.1 lib/simple_commander/help_formatters/terminal_compact/help.erb
simple_commander-0.6.0 lib/simple_commander/help_formatters/terminal_compact/help.erb
commander-4.4.2 lib/commander/help_formatters/terminal_compact/help.erb
commander-4.4.1 lib/commander/help_formatters/terminal_compact/help.erb
simple_commander-0.5.1 lib/simple_commander/help_formatters/terminal_compact/help.erb
simple_commander-0.5.0 lib/simple_commander/help_formatters/terminal_compact/help.erb
simple_commander-0.4.0 lib/simple_commander/help_formatters/terminal_compact/help.erb
simple_commander-0.3.1 lib/simple_commander/help_formatters/terminal_compact/help.erb
simple_commander-0.3.0 lib/simple_commander/help_formatters/terminal_compact/help.erb