Method: Exa::Shell#kickstart!

Defined in:
lib/exa/shell.rb

#kickstart!Object



59
60
61
62
63
64
65
66
# File 'lib/exa/shell.rb', line 59

def kickstart!
  loop do
    print configuration.prompt.call(self)
    inp = gets.chomp
    outp = shell_eval(inp)
    p outp unless outp.nil? || (outp.respond_to?(:empty?) && outp.empty?)
  end
end