code: function stripDestructiveCommands(history) {
      const destructiveSlugs = Object.keys(Inigo.Command)
          .map(key => Inigo.Command[key])
          .filter(command => command.d)
          .map(command => command.s);
      return history.filter(command => {
          return destructiveSlugs.indexOf(getCommandType(command)) < 0;
      });
  }
docs: Strip destructive commands from a history collection
  @param {Array.<String>} history The history
  @returns {Array.<String>} The history minus any destructive commands
  @private
  @static
  @memberof Workspace