Class: CC::CLI::Console

Inherits:
Command show all
Defined in:
lib/cc/cli/console.rb

Constant Summary collapse

SHORT_HELP =
"Open a ruby console for the CLI. Useful for developing against the CLI.".freeze

Constants inherited from Command

CC::CLI::Command::CODECLIMATE_YAML, CC::CLI::Command::NAMESPACE

Instance Method Summary collapse

Methods inherited from Command

[], abstract!, abstract?, all, command_name, #execute, help, inherited, #initialize, 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



6
7
8
9
# File 'lib/cc/cli/console.rb', line 6

def run
  require "pry"
  binding.pry(quiet: true, prompt: Pry::SIMPLE_PROMPT, output: $stdout)
end