Sha256: 6f6e9cf2c5d7035f3806f41c96d9599c8b93fa904d9f7fc0c5b42d73467cdab8
Contents?: true
Size: 779 Bytes
Versions: 9
Compression:
Stored size: 779 Bytes
Contents
<%= program :name %> <%= program :description %> Commands: <% for name, command in @help_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 @help_options.empty? -%> Global Options: <% for option in @help_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
9 entries across 9 versions & 1 rubygems