Method: Pfm::CLI#show_help

Defined in:
lib/idlc-sdk-pfm/cli.rb

#show_helpObject



80
81
82
83
84
85
86
87
88
# File 'lib/idlc-sdk-pfm/cli.rb', line 80

def show_help
  msg(banner)
  msg("\nAvailable Commands:")

  justify_length = subcommands.map(&:length).max + 2
  subcommand_specs.each do |name, spec|
    msg("    #{name.ljust(justify_length)}#{spec.description}")
  end
end