Class: FastlaneCore::HelpFormatter

Inherits:
Commander::HelpFormatter::TerminalCompact
  • Object
show all
Defined in:
fastlane_core/lib/fastlane_core/ui/help_formatter.rb

Instance Method Summary collapse

Instance Method Details

#template(name) ⇒ Object



5
6
7
8
9
10
# File 'fastlane_core/lib/fastlane_core/ui/help_formatter.rb', line 5

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