          for site in sites
             log "_id: #{site.data._id}, slug:#{site.data.slug}"
          rl.prompt();
-
+    ### May be added later still tbd on implementation
     when 'get:objects_c'
       getDB (db) ->
         db.get('objects').find {collection: l_args[0]}, (err, objects) ->

  HELPER_COMMANDS
  get:sites [<slug>]              get sites with shell
  get:allsites                    returns a list of id_slug mappings for all sites
  get:objects_c <collection>      get objects with collection
  get:objects_t <type>            get objects with type
  get:sitemap <slug>              get contents of site
  get:site_ids <slug>..           returns a id to slug lookup
  help/docs                       this document
  open:site <id>                  this opens site in context
  open:object_or_page <id>        this opens object in context
  
  DB_COMMANDS                     Query the database with results
  db.sites.find                   

          log JSON.stringify(object.val(), null, 4)
          log "------End Object------"
        rl.prompt();
    ###
    when 'shell:site'
      getDB (db) =>
        db.get('sites').find {_id: l_args[0]}, (err, sites) =>
          @shell_context={
            type:"sites"
            id:sites[0].data._id
          }
          prompt="#{sites[0].data.slug}-#{id}"
          rl.setPrompt "#{prompt}>"
          rl.prompt();
    when 'shell:object'
      getDB (db) =>
        db.get('objects').findOne {_id: l_args[0]}, (err, object) =>
          @shell_context={
            type:"objects"
            id:object.data._id
          }
          prompt="#collection-#{object.data.collection} type-#{object.data.type}"
          rl.setPrompt "#{prompt}>"
          rl.prompt();

    when 'help' or 'docs'
      log USAGE_SHELL
      rl.prompt()

    else
      checkForDb=l_token.match(/db.+(?=\()/)+""
