 Josh.config.pathhandler = new Josh.PathHandler(Josh.config.shell,
   console: Josh.config.console
 )
+
+_console =
+  log: window.console.log
+  debug: window.console.debug
+
 console.log "[feedlyconsole] loading %O", Josh
 
 demo_data =

        _console.debug observer
        _console.debug config
        observer.observe target, config
    ###
    #<section id='getDir'/>



      # `exec` handles the execution of the command.
      exec: (cmd, args, callback) ->
        if _self.api
          _self.api.get command_name, null, (data) ->
            return err("api request failed to get data")  unless data
            template = _self.shell.templates[command_name]
            template = template or _self.shell.templates.default_template
            template_args = {}
            template_args[command_name] = template_args["data"] = data
            _console.debug "[Josh.FeedlyConsole] data %O cmd %O args %O",
            data, cmd, args
            callback template(template_args)
        else
          callback _self.shell.templates.not_ready({cmd})


    simple_commands = [
