@oclif/plugin-autocomplete
Advanced tools
Comparing version 2.3.3 to 2.3.4
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const core_1 = require("@oclif/core"); | ||
const os_1 = require("os"); | ||
const chalk = require("chalk"); | ||
@@ -9,4 +10,8 @@ const base_1 = require("../../base"); | ||
async run() { | ||
var _a; | ||
const { args, flags } = await this.parse(Index); | ||
const shell = args.shell || this.determineShell(this.config.shell); | ||
if (shell === 'powershell' && ((_a = this.config) === null || _a === void 0 ? void 0 : _a.topicSeparator) === ':') { | ||
this.error(`PowerShell completion is not supported in CLIs using colon as the topic separator.${os_1.EOL}See: https://oclif.io/docs/topic_separator`); | ||
} | ||
core_1.ux.action.start(`${chalk.bold('Building the autocomplete cache')}`); | ||
@@ -13,0 +18,0 @@ await create_1.default.run([], this.config); |
{ | ||
"version": "2.3.3", | ||
"version": "2.3.4", | ||
"commands": { | ||
@@ -4,0 +4,0 @@ "autocomplete:create": { |
{ | ||
"name": "@oclif/plugin-autocomplete", | ||
"description": "autocomplete plugin for oclif", | ||
"version": "2.3.3", | ||
"version": "2.3.4", | ||
"author": "Salesforce", | ||
@@ -31,3 +31,3 @@ "bugs": "https://github.com/oclif/plugin-autocomplete/issues", | ||
"nyc": "^15.1.0", | ||
"oclif": "^3.9.1", | ||
"oclif": "^3.10.0", | ||
"shx": "^0.3.3", | ||
@@ -37,3 +37,3 @@ "sinon": "^12.0.1", | ||
"ts-node": "^9.0.0", | ||
"tslib": "^2.6.0", | ||
"tslib": "^2.6.1", | ||
"typescript": "4.6.3" | ||
@@ -40,0 +40,0 @@ }, |
@@ -60,3 +60,3 @@ @oclif/plugin-autocomplete | ||
_See code: [src/commands/autocomplete/index.ts](https://github.com/oclif/plugin-autocomplete/blob/v2.3.3/src/commands/autocomplete/index.ts)_ | ||
_See code: [src/commands/autocomplete/index.ts](https://github.com/oclif/plugin-autocomplete/blob/v2.3.4/src/commands/autocomplete/index.ts)_ | ||
<!-- commandsstop --> |
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
60813
1381