Example #1
0
mockCommands.shutdown = function() {
  canon.removeCommand(mockCommands.tsv);
  canon.removeCommand(mockCommands.tsr);
  canon.removeCommand(mockCommands.tso);
  canon.removeCommand(mockCommands.tse);
  canon.removeCommand(mockCommands.tsj);
  canon.removeCommand(mockCommands.tsb);
  canon.removeCommand(mockCommands.tss);
  canon.removeCommand(mockCommands.tsu);
  canon.removeCommand(mockCommands.tsn);
  canon.removeCommand(mockCommands.tsnDif);
  canon.removeCommand(mockCommands.tsnExt);
  canon.removeCommand(mockCommands.tsnExte);
  canon.removeCommand(mockCommands.tsnExten);
  canon.removeCommand(mockCommands.tsnExtend);
  canon.removeCommand(mockCommands.tsnDeep);
  canon.removeCommand(mockCommands.tsnDeepDown);
  canon.removeCommand(mockCommands.tsnDeepDownNested);
  canon.removeCommand(mockCommands.tsnDeepDownNestedCmd);
  canon.removeCommand(mockCommands.tselarr);
  canon.removeCommand(mockCommands.tsm);
  canon.removeCommand(mockCommands.tsg);
  canon.removeCommand(mockCommands.tshidden);
  canon.removeCommand(mockCommands.tscook);
  canon.removeCommand(mockCommands.tslong);

  types.deregisterType(mockCommands.optionType);
  types.deregisterType(mockCommands.optionValue);
};
Example #2
0
exports.shutdown = function() {
  canon.removeCommand(exports.tsv);
  canon.removeCommand(exports.tsr);
  canon.removeCommand(exports.tse);
  canon.removeCommand(exports.tsj);
  canon.removeCommand(exports.tsb);
  canon.removeCommand(exports.tss);
  canon.removeCommand(exports.tsu);
  canon.removeCommand(exports.tsn);
  canon.removeCommand(exports.tsnDif);
  canon.removeCommand(exports.tsnExt);
  canon.removeCommand(exports.tsnExte);
  canon.removeCommand(exports.tsnExten);
  canon.removeCommand(exports.tsnExtend);
  canon.removeCommand(exports.tsnDeep);
  canon.removeCommand(exports.tsnDeepDown);
  canon.removeCommand(exports.tsnDeepDownNested);
  canon.removeCommand(exports.tsnDeepDownNestedCmd);
  canon.removeCommand(exports.tselarr);
  canon.removeCommand(exports.tsm);
  canon.removeCommand(exports.tsg);

  types.deregisterType(exports.optionType);
  types.deregisterType(exports.optionValue);
};
commands.shutdown = function() {
  canon.removeCommand(commands.tsv);
  canon.removeCommand(commands.tsr);
  canon.removeCommand(commands.tsu);
  canon.removeCommand(commands.tsn);
  canon.removeCommand(commands.tsnDif);
  canon.removeCommand(commands.tsnExt);
  canon.removeCommand(commands.tsnExte);
  canon.removeCommand(commands.tsnExten);
  canon.removeCommand(commands.tsnExtend);
  canon.removeCommand(commands.tselarr);
  canon.removeCommand(commands.tsm);

  types.deregisterType(commands.optionType);
  types.deregisterType(commands.optionValue);
};