Class: RGitFlow::CLI

Inherits:
Object show all
Includes:
Console, Printing
Defined in:
lib/rgitflow/cli.rb

Constant Summary

Constants included from Printing

Printing::DEBUG_PREFIX, Printing::ERROR_PREFIX, Printing::INPUT_PREFIX, Printing::STATUS_PREFIX

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Console

#execute, #invoke, #multi_task, #task?

Methods included from Printing

#debug, #error, #prompt, #status

Class Method Details

.commandline(command) ⇒ Object



14
15
16
# File 'lib/rgitflow/cli.rb', line 14

def commandline(command)
  new.cli command
end

Instance Method Details

#cli(command) ⇒ Object



9
10
11
# File 'lib/rgitflow/cli.rb', line 9

def cli(command)
  execute command
end