Class: CC::CLI::Engines::Install

Inherits:
EngineCommand show all
Defined in:
lib/cc/cli/engines/install.rb

Constant Summary collapse

SHORT_HELP =
"Pull the latest images for enabled engines in your codeclimate.yml.".freeze
ImagePullFailure =
Class.new(StandardError)

Constants included from Analyzer

Analyzer::UnreadableFileError

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

#runObject



9
10
11
12
13
14
# File 'lib/cc/cli/engines/install.rb', line 9

def run
  require_codeclimate_yml

  say "Pulling docker images."
  pull_docker_images
end