           log entity.val()
           exit()
         
-
+  when 'shell'
+    command=''
+    log "DB Shell Active type 'exit' or 'quit' to escape, 'help' or 'docs' for information"
+
+    rl.on "line", (token) ->
+      args=token.split(' ')
+      command=args[0]
+      args.splice(0,1)
+      executeCommand()
+
+    
   when 'docs'
     open 'http://www.lessthan3.com/developers'
     exit()

else
  extend =  require 'node.extend'


# usage
USAGE = """
Usage: lt3 <command> [command-specific-options]

  create <site> [<product>]               create a v2 site
  docs                                    open docs page
  help                                    show usage
  shell                                   shell to interact with database
  init                                    initialize a new lessthan3 workspace
  login                                   authenticate your user
  open [<site>] [<page>]                  open a site
