Sha256: c59e9efdf9eb2cdbfdf77e05adb4d440cc3e6bcdebcf556b0f1caf70769fad86

Contents?: true

Size: 336 Bytes

Versions: 8

Compression:

Stored size: 336 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

      ERB.new(File.read(File.join(File.dirname(__FILE__), "help.erb")), trim_mode: '-')
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fastlane-2.225.0 fastlane_core/lib/fastlane_core/ui/help_formatter.rb
fastlane-2.224.0 fastlane_core/lib/fastlane_core/ui/help_formatter.rb
fastlane-2.223.1 fastlane_core/lib/fastlane_core/ui/help_formatter.rb
fastlane-2.223.0 fastlane_core/lib/fastlane_core/ui/help_formatter.rb
fastlane-2.222.0 fastlane_core/lib/fastlane_core/ui/help_formatter.rb
fastlane-2.221.1 fastlane_core/lib/fastlane_core/ui/help_formatter.rb
fastlane-2.221.0 fastlane_core/lib/fastlane_core/ui/help_formatter.rb
fastlane-2.220.0 fastlane_core/lib/fastlane_core/ui/help_formatter.rb