Class: Dip::CLI::Console

Inherits:
Base
  • Object
show all
Defined in:
lib/dip/cli/console.rb

Instance Method Summary collapse

Methods inherited from Base

exit_on_failure?

Instance Method Details

#injectObject



26
27
28
29
30
31
32
# File 'lib/dip/cli/console.rb', line 26

def inject
  if options[:help]
    invoke :help, ["inject"]
  else
    Dip::Commands::Console::Inject.new.execute
  end
end

#startObject



13
14
15
16
17
18
19
# File 'lib/dip/cli/console.rb', line 13

def start
  if options[:help]
    invoke :help, ["start"]
  else
    Dip::Commands::Console::Start.new.execute
  end
end