UNPKG

oral-ts

Version:

a testing framework for typescript

34 lines 1 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.argParser = void 0; var arg_1 = __importDefault(require("arg")); var argParser = function (args) { var parser = arg_1.default({ "--tsconfig": String, "--help": Boolean, "--version": Boolean, "--testDir": String, "--coverageDir": String, "--watch": Boolean, "--silent": Boolean, "--coverage": Boolean, "--watchDir": String, "--clear": Boolean, "--noclear": Boolean, "--notify": Boolean, "--file": String, "-C": "--clear", "-W": "--watch", "-V": "--version", "-H": "--help", "-S": "--silent", }, { argv: args.splice(2), }); return parser; }; exports.argParser = argParser; //# sourceMappingURL=argparser.js.map