docs: function cmd (action, url, params, fn) {
        var c, f;
  
        c = {
          cmd: action + ' ' + me._selectedEnv.apiroot + url
        };
  
        c.params = ('object' === typeof(params)) ? params: {};
        c.params.eventKey = key();
        c.params.sid = sid();
  
        f = ('function' === typeof(fn)) ? fn: console.log;
        _commandQ['' + c.params.eventKey] = f;
  
        return JSON.stringify(c);
      }