Sha256: 4defee883548a5b90d73453a52c8f0553c53d5069c265c945d1dc638d65ca91d

Contents?: true

Size: 1.21 KB

Versions: 72

Compression:

Stored size: 1.21 KB

Contents

  <%= program :name %>

  <%= program :description %>

  <%= "Commands:#{@default_command ? ' (* default)' : '' }" %>
<% for name, command in @commands.sort -%>
<% unless alias? name -%>
    <%= "%-#{max_command_length}s #{@default_command.nil? ? '' : (command.name == @default_command.to_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 -%>
<% default_command_options = @commands.values.find {|c| c.name == @default_command.to_s }&.options || [] %>
<% unless default_command_options.empty? %>
  <%= "Options for #{@default_command}:" %>
<% for option in default_command_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

72 entries across 72 versions & 4 rubygems

Version Path
fastlane-2.225.0 fastlane_core/lib/fastlane_core/ui/help.erb
fastlane-2.224.0 fastlane_core/lib/fastlane_core/ui/help.erb
fastlane-2.223.1 fastlane_core/lib/fastlane_core/ui/help.erb
fastlane-2.223.0 fastlane_core/lib/fastlane_core/ui/help.erb
fastlane-2.222.0 fastlane_core/lib/fastlane_core/ui/help.erb
fastlane-2.221.1 fastlane_core/lib/fastlane_core/ui/help.erb
fastlane-2.221.0 fastlane_core/lib/fastlane_core/ui/help.erb
fastlane-2.220.0 fastlane_core/lib/fastlane_core/ui/help.erb
fastlane-2.219.0 fastlane_core/lib/fastlane_core/ui/help.erb
fastlane-2.218.0 fastlane_core/lib/fastlane_core/ui/help.erb
fastlane-security-patched-2.216.0 fastlane_core/lib/fastlane_core/ui/help.erb
fastlane-2.217.0 fastlane_core/lib/fastlane_core/ui/help.erb
fastlane-2.216.0 fastlane_core/lib/fastlane_core/ui/help.erb
fastlane-2.215.1 fastlane_core/lib/fastlane_core/ui/help.erb
fastlane-2.215.0 fastlane_core/lib/fastlane_core/ui/help.erb
fastlane-mercafacil-2.214.0 fastlane_core/lib/fastlane_core/ui/help.erb
fastlane-2.214.0 fastlane_core/lib/fastlane_core/ui/help.erb
fastlane-2.213.0 fastlane_core/lib/fastlane_core/ui/help.erb
fastlane-2.212.2 fastlane_core/lib/fastlane_core/ui/help.erb
fastlane_pricing_fix-2.212.1 fastlane_core/lib/fastlane_core/ui/help.erb