@rushstack/ts-command-line
Advanced tools
Comparing version 4.17.2 to 4.17.3
"use strict"; | ||
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. | ||
// See LICENSE in the project root for license information. | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CommandLineParser = void 0; | ||
const colors_1 = __importDefault(require("colors")); | ||
const terminal_1 = require("@rushstack/terminal"); | ||
const CommandLineParameterProvider_1 = require("./CommandLineParameterProvider"); | ||
@@ -36,3 +33,3 @@ const CommandLineParserExitError_1 = require("./CommandLineParserExitError"); | ||
description: this._options.toolDescription, | ||
epilog: colors_1.default.bold((_a = this._options.toolEpilog) !== null && _a !== void 0 ? _a : `For detailed help about a specific command, use: ${this._options.toolFilename} <command> -h`) | ||
epilog: terminal_1.Colorize.bold((_a = this._options.toolEpilog) !== null && _a !== void 0 ? _a : `For detailed help about a specific command, use: ${this._options.toolFilename} <command> -h`) | ||
}); | ||
@@ -126,3 +123,3 @@ (_b = this.onDefineParameters) === null || _b === void 0 ? void 0 : _b.call(this); | ||
// eslint-disable-next-line no-console | ||
console.error(colors_1.default.red(message)); | ||
console.error(terminal_1.Colorize.red(message)); | ||
if (!process.exitCode) { | ||
@@ -129,0 +126,0 @@ process.exitCode = 1; |
{ | ||
"name": "@rushstack/ts-command-line", | ||
"version": "4.17.2", | ||
"version": "4.17.3", | ||
"description": "An object-oriented command-line parser for TypeScript", | ||
@@ -16,4 +16,4 @@ "repository": { | ||
"argparse": "~1.0.9", | ||
"colors": "~1.2.1", | ||
"string-argv": "~0.3.1" | ||
"string-argv": "~0.3.1", | ||
"@rushstack/terminal": "0.9.0" | ||
}, | ||
@@ -20,0 +20,0 @@ "devDependencies": { |
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
443852
4839
+ Added@rushstack/terminal@0.9.0
+ Added@rushstack/node-core-library@4.0.2(transitive)
+ Added@rushstack/terminal@0.9.0(transitive)
+ Addedcommander@10.0.1(transitive)
+ Addedfs-extra@7.0.1(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedimport-lazy@4.0.0(transitive)
+ Addedis-core-module@2.15.1(transitive)
+ Addedjju@1.4.0(transitive)
+ Addedjsonfile@4.0.0(transitive)
+ Addedlodash.get@4.4.2(transitive)
+ Addedlodash.isequal@4.5.0(transitive)
+ Addedlru-cache@6.0.0(transitive)
+ Addedpath-parse@1.0.7(transitive)
+ Addedresolve@1.22.8(transitive)
+ Addedsemver@7.5.4(transitive)
+ Addedsupports-preserve-symlinks-flag@1.0.0(transitive)
+ Addeduniversalify@0.1.2(transitive)
+ Addedvalidator@13.12.0(transitive)
+ Addedyallist@4.0.0(transitive)
+ Addedz-schema@5.0.6(transitive)
- Removedcolors@~1.2.1