Class: CC::CLI::ValidateConfig

Inherits:
Command
  • Object
show all
Includes:
Analyzer, Yaml
Defined in:
lib/cc/cli/validate_config.rb

Constant Summary

Constants inherited from Command

Command::CODECLIMATE_YAML

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

#runObject



9
10
11
12
# File 'lib/cc/cli/validate_config.rb', line 9

def run
  require_codeclimate_yml
  verify_yaml
end