Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@oclif/plugin-which

Package Overview
Dependencies
Maintainers
7
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oclif/plugin-which - npm Package Compare versions

Comparing version
2.0.1
to
2.0.2
+7
-0
CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [2.0.2](https://github.com/oclif/plugin-which/compare/v2.0.1...v2.0.2) (2021-12-02)
### Bug Fixes
* allow commands with spaces ([7b1910a](https://github.com/oclif/plugin-which/commit/7b1910aa314cb98dd7d0ae44e195eccd94d25669))
### [2.0.1](https://github.com/oclif/plugin-which/compare/v2.0.0...v2.0.1) (2021-12-02)

@@ -7,0 +14,0 @@

+1
-4
import { Command } from '@oclif/core';
export default class Which extends Command {
static description: string;
static args: {
name: string;
required: boolean;
}[];
static strict: boolean;
run(): Promise<void>;
}
+4
-4

@@ -7,4 +7,4 @@ "use strict";

async run() {
const { args } = await this.parse(Which);
const cmd = this.config.findCommand(args.command, { must: true });
const { argv } = await this.parse(Which);
const cmd = this.config.findCommand(argv.join(':'), { must: true });
cli_ux_1.default.styledHeader(cmd.id);

@@ -17,3 +17,3 @@ cli_ux_1.default.styledObject({

exports.default = Which;
Which.description = 'show which plugin a command is in';
Which.args = [{ name: 'command', required: true }];
Which.description = 'Show which plugin a command is in.';
Which.strict = false;

@@ -1,1 +0,1 @@

{"version":"2.0.1","commands":{"which":{"id":"which","description":"show which plugin a command is in","strict":true,"pluginName":"@oclif/plugin-which","pluginAlias":"@oclif/plugin-which","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"command","required":true}]}}}
{"version":"2.0.2","commands":{"which":{"id":"which","description":"Show which plugin a command is in.","strict":false,"pluginName":"@oclif/plugin-which","pluginAlias":"@oclif/plugin-which","pluginType":"core","aliases":[],"flags":{},"args":[]}}}
{
"name": "@oclif/plugin-which",
"description": "find which plugin a command is in",
"version": "2.0.1",
"version": "2.0.2",
"author": "Salesforce",

@@ -6,0 +6,0 @@ "bugs": "https://github.com/oclif/plugin-which/issues",

@@ -23,3 +23,3 @@ @oclif/plugin-which

$ oclif-example (--version)
@oclif/plugin-which/2.0.1 linux-x64 node-v12.22.7
@oclif/plugin-which/2.0.2 linux-x64 node-v12.22.7
$ oclif-example --help [COMMAND]

@@ -33,17 +33,17 @@ USAGE

<!-- commands -->
* [`oclif-example which COMMAND`](#oclif-example-which-command)
* [`oclif-example which`](#oclif-example-which)
## `oclif-example which COMMAND`
## `oclif-example which`
show which plugin a command is in
Show which plugin a command is in.
```
USAGE
$ oclif-example which [COMMAND]
$ oclif-example which
DESCRIPTION
show which plugin a command is in
Show which plugin a command is in.
```
_See code: [src/commands/which.ts](https://github.com/oclif/plugin-which/blob/v2.0.1/src/commands/which.ts)_
_See code: [src/commands/which.ts](https://github.com/oclif/plugin-which/blob/v2.0.2/src/commands/which.ts)_
<!-- commandsstop -->