class Pfm::CLI
def show_help
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
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