Class: CC::CLI::Help
Constant Summary
Constants inherited from Command
Instance Method Summary collapse
Methods inherited from Command
command_name, #execute, #fatal, #initialize, #require_codeclimate_yml, #say, #warn
Constructor Details
This class inherits a constructor from CC::CLI::Command
Instance Method Details
#run ⇒ Object
6 7 8 9 10 11 |
# File 'lib/cc/cli/help.rb', line 6 def run say "Usage: codeclimate COMMAND ...\n\nAvailable commands:\n" commands.each do |command| say " #{command}" end end |