class ChefCLI::CLI
def show_help
def show_help msg(banner) msg("Available Commands:") justify_length = subcommands.map(&:length).max + 2 subcommand_specs.each do |name, spec| next if spec.hidden msg(" #{name.to_s.ljust(justify_length)}#{spec.description}") end end