Module: Aircana::CLI::HelpFormatter

Included in:
App
Defined in:
lib/aircana/cli/help_formatter.rb

Overview

Custom help formatter to organize commands into logical groups

Instance Method Summary collapse

Instance Method Details

#help(command = nil, subcommand: false) ⇒ Object



7
8
9
10
11
12
13
# File 'lib/aircana/cli/help_formatter.rb', line 7

def help(command = nil, subcommand: false)
  if command
    super
  else
    print_grouped_commands
  end
end