Class: Commander::HelpFormatter::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/murano-cli-commander/help_formatters/base.rb

Direct Known Subclasses

Terminal

Instance Method Summary collapse

Constructor Details

#initialize(runner) ⇒ Base

Returns a new instance of Base.



11
12
13
# File 'lib/murano-cli-commander/help_formatters/base.rb', line 11

def initialize(runner)
  @runner = runner
end

Instance Method Details

#renderObject



15
16
17
# File 'lib/murano-cli-commander/help_formatters/base.rb', line 15

def render
  'Implement global help here'
end

#render_command(command) ⇒ Object



19
20
21
# File 'lib/murano-cli-commander/help_formatters/base.rb', line 19

def render_command(command)
  "Implement help for #{command.name} here"
end