# File lib/appraisal/cli.rb, line 11 def self.help(shell, subcommand = false) shell.say strip_heredoc("Appraisal: Find out what your Ruby gems are worth.\n\nUsage:\nappraisal [APPRAISAL_NAME] EXTERNAL_COMMAND\n\nIf APPRAISAL_NAME is given, only run that EXTERNAL_COMMAND against the given\nappraisal, otherwise it runs the EXTERNAL_COMMAND against all appraisals.\n") if File.exist?('Appraisals') shell.say shell.say 'Available Appraisal(s):' AppraisalFile.each do |appraisal| shell.say " - #{appraisal.name}" end end shell.say super end