@rushstack/ts-command-line
Advanced tools
Comparing version 4.17.1 to 4.17.2
@@ -8,5 +8,5 @@ // This file is read by tools that parse documentation comments conforming to the TSDoc standard. | ||
"packageName": "@microsoft/api-extractor", | ||
"packageVersion": "7.37.1" | ||
"packageVersion": "7.39.1" | ||
} | ||
] | ||
} |
@@ -26,3 +26,3 @@ "use strict"; | ||
CommandLineParameterKind[CommandLineParameterKind["IntegerList"] = 6] = "IntegerList"; | ||
})(CommandLineParameterKind = exports.CommandLineParameterKind || (exports.CommandLineParameterKind = {})); | ||
})(CommandLineParameterKind || (exports.CommandLineParameterKind = CommandLineParameterKind = {})); | ||
/** | ||
@@ -171,5 +171,5 @@ * Matches kebab-case formatted strings prefixed with double dashes. | ||
} | ||
exports.CommandLineParameterWithArgument = CommandLineParameterWithArgument; | ||
// Matches the first character that *isn't* part of a valid upper-case argument name such as "URL_2" | ||
CommandLineParameterWithArgument._invalidArgumentNameRegExp = /[^A-Z_0-9]/; | ||
exports.CommandLineParameterWithArgument = CommandLineParameterWithArgument; | ||
//# sourceMappingURL=BaseClasses.js.map |
@@ -645,4 +645,4 @@ "use strict"; | ||
} | ||
exports.CommandLineParameterProvider = CommandLineParameterProvider; | ||
CommandLineParameterProvider._keyCounter = 0; | ||
exports.CommandLineParameterProvider = CommandLineParameterProvider; | ||
//# sourceMappingURL=CommandLineParameterProvider.js.map |
@@ -198,2 +198,3 @@ "use strict"; | ||
} | ||
exports.ScopedCommandLineAction = ScopedCommandLineAction; | ||
/** | ||
@@ -204,3 +205,2 @@ * The required group name to apply to all scoping parameters. At least one parameter | ||
ScopedCommandLineAction.ScopingParameterGroup = Constants_1.SCOPING_PARAMETER_GROUP; | ||
exports.ScopedCommandLineAction = ScopedCommandLineAction; | ||
//# sourceMappingURL=ScopedCommandLineAction.js.map |
@@ -20,4 +20,5 @@ "use strict"; | ||
var g = generator.apply(thisArg, _arguments || []), i, q = []; | ||
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; | ||
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } | ||
return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; | ||
function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } | ||
function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } | ||
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } | ||
@@ -83,13 +84,8 @@ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } | ||
try { | ||
for (var _d = true, _e = __asyncValues(this.getCompletions(commandLine, caretPosition)), _f; _f = await _e.next(), _a = _f.done, !_a;) { | ||
for (var _d = true, _e = __asyncValues(this.getCompletions(commandLine, caretPosition)), _f; _f = await _e.next(), _a = _f.done, !_a; _d = true) { | ||
_c = _f.value; | ||
_d = false; | ||
try { | ||
const value = _c; | ||
// eslint-disable-next-line no-console | ||
console.log(value); | ||
} | ||
finally { | ||
_d = true; | ||
} | ||
const value = _c; | ||
// eslint-disable-next-line no-console | ||
console.log(value); | ||
} | ||
@@ -96,0 +92,0 @@ } |
{ | ||
"name": "@rushstack/ts-command-line", | ||
"version": "4.17.1", | ||
"version": "4.17.2", | ||
"description": "An object-oriented command-line parser for TypeScript", | ||
@@ -20,4 +20,4 @@ "repository": { | ||
"devDependencies": { | ||
"@rushstack/heft": "0.62.0", | ||
"@rushstack/heft-node-rig": "2.3.2", | ||
"@rushstack/heft": "0.64.0", | ||
"@rushstack/heft-node-rig": "2.4.0", | ||
"@types/heft-jest": "1.0.1", | ||
@@ -24,0 +24,0 @@ "@types/node": "18.17.15", |
@@ -243,3 +243,3 @@ # ts-command-line | ||
out what's new in the latest version | ||
- [API Reference](https://rushstack.io/pages/api/ts-command-line/) | ||
- [API Reference](https://api.rushstack.io/pages/ts-command-line/) | ||
@@ -246,0 +246,0 @@ Here are some real world GitHub projects that illustrate different use cases for **ts-command-line**: |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
443955
4842