Sha256: 9a18c782f1d256b8a57b814cca8e8615fcf40da3239a46443711b3144736e260
Contents?: true
Size: 538 Bytes
Versions: 2
Compression:
Stored size: 538 Bytes
Contents
# frozen_string_literal: true module Commander ## # = Help Formatter # # Commander's help formatters control the output when # either the help command, or --help switch are called. # The default formatter is Commander::HelpFormatter::Terminal. module HelpFormatter class Base def initialize(runner) @runner = runner end def render 'Implement global help here' end def render_command(command) "Implement help for #{command.name} here" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
commander-5.0.0 | lib/commander/help_formatters/base.rb |
commander-4.6.0 | lib/commander/help_formatters/base.rb |