Method: Querly::CLI::Console#start

Defined in:
lib/querly/cli/console.rb

#startObject



24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# File 'lib/querly/cli/console.rb', line 24

def start
  puts <<-Message
Querly #{VERSION}, interactive console

  Message

  puts_commands

  STDOUT.print "Loading..."
  STDOUT.flush
  reload!
  STDOUT.puts " ready!"

  load_history
  start_loop
end