code: function _parseForAutocomplete(fullCommandStr) {
      var fullCommandParsed = CommandParser.parse(fullCommandStr);
      var lastArg = _.last(fullCommandParsed.args);
  
      // If the last argument does not have an index, it means it's a cliff hanger (e.g., a space at
      // the end of the command string). Therefore, we'll assign it an index at the end of the input
      // string
      if (!_.isNumber(lastArg.i)) {
          lastArg.i = fullCommandStr.length;
      }
  
      return fullCommandParsed;
  }
docs: /*!
  Parse the given command string, handling the scenario where there is an unstarted command at the
  end and assigning it an index. This is a requirement specific for auto-complete, so it is not
  done by the parser itself.