class HammerCLI::FullHelpCommand

Public Instance Methods

execute() click to toggle source
# File lib/hammer_cli/full_help.rb, line 7
def execute
  @adapter = option_md? ? MDAdapter.new : TxtAdapter.new
  print_heading
  print_help
  HammerCLI::EX_OK
end

Private Instance Methods

print_heading() click to toggle source
print_help(name='hammer', command=HammerCLI::MainCommand, desc='') click to toggle source