@evanpurkhiser/tooling-personal
Advanced tools
Comparing version 1.15.0 to 1.16.0
@@ -7,2 +7,3 @@ #!/usr/bin/env node | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const chalk_1 = __importDefault(require("chalk")); | ||
const yargs_1 = __importDefault(require("yargs")); | ||
@@ -12,2 +13,11 @@ const pr_1 = __importDefault(require("./cmd/pr")); | ||
yargs_1.default(process.argv.slice(2)) | ||
.option('color', { | ||
boolean: true, | ||
desc: 'Use colored output (default: auto-detect)', | ||
}) | ||
.middleware(args => { | ||
if (args.color !== undefined) { | ||
chalk_1.default.level = args.color ? 3 : 0; | ||
} | ||
}, true) | ||
.command('pr', 'Create and update PRs', pr_1.default) | ||
@@ -14,0 +24,0 @@ .command('select-commit', 'Select a commit hash', select_commit_1.default) |
{ | ||
"name": "@evanpurkhiser/tooling-personal", | ||
"version": "1.15.0", | ||
"version": "1.16.0", | ||
"description": "Evan Purkhiser's personal tooling", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/EvanPurkhiser/tooling-personal", |
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
22270
529