Class: CC::CLI::ValidateConfig
- Includes:
- Analyzer, Yaml
- Defined in:
- lib/cc/cli/validate_config.rb
Constant Summary collapse
- SHORT_HELP =
"Validate your .codeclimate.yml.".freeze
- VALID_CONFIG_MESSAGE =
"No errors or warnings found in .codeclimate.yml file.".freeze
Constants included from Analyzer
Constants inherited from Command
Command::CODECLIMATE_YAML, Command::NAMESPACE
Instance Method Summary collapse
Methods inherited from Command
[], abstract!, abstract?, all, command_name, #execute, help, inherited, #initialize, #require_codeclimate_yml, short_help, synopsis
Methods included from Output
#colorize, #fatal, #rainbow, #say, #success, #terminal, #warn
Constructor Details
This class inherits a constructor from CC::CLI::Command
Instance Method Details
#run ⇒ Object
13 14 15 16 |
# File 'lib/cc/cli/validate_config.rb', line 13 def run require_codeclimate_yml verify_yaml end |