Sha256: ef5f5d01dee3ccbd6594fe22f89d1a1e307734638f2dcc1bf71e9c92c7c00a00

Contents?: true

Size: 509 Bytes

Versions: 64

Compression:

Stored size: 509 Bytes

Contents

require 'commander'

module FastlaneCore
  class HelpFormatter < ::Commander::HelpFormatter::TerminalCompact
    def template(name)
      # fastlane only customizes the global command help
      return super unless name == :help

      if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.6')
        ERB.new(File.read(File.join(File.dirname(__FILE__), "help.erb")), nil, '-')
      else
        ERB.new(File.read(File.join(File.dirname(__FILE__), "help.erb")), trim_mode: '-')
      end
    end
  end
end

Version data entries

64 entries across 64 versions & 4 rubygems

Version Path
fastlane-2.219.0 fastlane_core/lib/fastlane_core/ui/help_formatter.rb
fastlane-2.218.0 fastlane_core/lib/fastlane_core/ui/help_formatter.rb
fastlane-security-patched-2.216.0 fastlane_core/lib/fastlane_core/ui/help_formatter.rb
fastlane-2.217.0 fastlane_core/lib/fastlane_core/ui/help_formatter.rb
fastlane-2.216.0 fastlane_core/lib/fastlane_core/ui/help_formatter.rb
fastlane-2.215.1 fastlane_core/lib/fastlane_core/ui/help_formatter.rb
fastlane-2.215.0 fastlane_core/lib/fastlane_core/ui/help_formatter.rb
fastlane-mercafacil-2.214.0 fastlane_core/lib/fastlane_core/ui/help_formatter.rb
fastlane-2.214.0 fastlane_core/lib/fastlane_core/ui/help_formatter.rb
fastlane-2.213.0 fastlane_core/lib/fastlane_core/ui/help_formatter.rb
fastlane-2.212.2 fastlane_core/lib/fastlane_core/ui/help_formatter.rb
fastlane_pricing_fix-2.212.1 fastlane_core/lib/fastlane_core/ui/help_formatter.rb
fastlane-2.212.1 fastlane_core/lib/fastlane_core/ui/help_formatter.rb
fastlane-2.212.0 fastlane_core/lib/fastlane_core/ui/help_formatter.rb
fastlane-2.211.0 fastlane_core/lib/fastlane_core/ui/help_formatter.rb
fastlane-2.210.1 fastlane_core/lib/fastlane_core/ui/help_formatter.rb
fastlane-2.210.0 fastlane_core/lib/fastlane_core/ui/help_formatter.rb
fastlane-2.209.1 fastlane_core/lib/fastlane_core/ui/help_formatter.rb
fastlane-2.209.0 fastlane_core/lib/fastlane_core/ui/help_formatter.rb
fastlane-2.208.0 fastlane_core/lib/fastlane_core/ui/help_formatter.rb