@oclif/plugin-which 2.2.7 → 2.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/lib/commands/which.js +2 -2
- package/oclif.manifest.json +22 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ $ npm install -g @oclif/plugin-which
|
|
|
20
20
|
$ oclif-example COMMAND
|
|
21
21
|
running command...
|
|
22
22
|
$ oclif-example (--version)
|
|
23
|
-
@oclif/plugin-which/2.2.
|
|
23
|
+
@oclif/plugin-which/2.2.9 linux-x64 node-v18.13.0
|
|
24
24
|
$ oclif-example --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ oclif-example COMMAND
|
|
@@ -48,5 +48,5 @@ EXAMPLES
|
|
|
48
48
|
$ oclif-example which help
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
_See code: [src/commands/which.ts](https://github.com/oclif/plugin-which/blob/v2.2.
|
|
51
|
+
_See code: [src/commands/which.ts](https://github.com/oclif/plugin-which/blob/v2.2.9/src/commands/which.ts)_
|
|
52
52
|
<!-- commandsstop -->
|
package/lib/commands/which.js
CHANGED
|
@@ -14,8 +14,8 @@ class Which extends core_1.Command {
|
|
|
14
14
|
throw new Error('"which" expects a command name. Try something like "which your:command:here" ');
|
|
15
15
|
}
|
|
16
16
|
const cmd = this.config.findCommand(command.join(':'), { must: true });
|
|
17
|
-
core_1.
|
|
18
|
-
core_1.
|
|
17
|
+
core_1.ux.styledHeader(command.join(this.config.topicSeparator));
|
|
18
|
+
core_1.ux.styledObject({
|
|
19
19
|
plugin: cmd.pluginName,
|
|
20
20
|
}, ['plugin']);
|
|
21
21
|
}
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1,22 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": "2.2.9",
|
|
3
|
+
"commands": {
|
|
4
|
+
"which": {
|
|
5
|
+
"id": "which",
|
|
6
|
+
"description": "Show which plugin a command is in.",
|
|
7
|
+
"strict": false,
|
|
8
|
+
"pluginName": "@oclif/plugin-which",
|
|
9
|
+
"pluginAlias": "@oclif/plugin-which",
|
|
10
|
+
"pluginType": "core",
|
|
11
|
+
"aliases": [],
|
|
12
|
+
"examples": [
|
|
13
|
+
{
|
|
14
|
+
"description": "See which plugin the `help` command is in:",
|
|
15
|
+
"command": "<%= config.bin %> <%= command.id %> help"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"flags": {},
|
|
19
|
+
"args": {}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oclif/plugin-which",
|
|
3
3
|
"description": "find which plugin a command is in",
|
|
4
|
-
"version": "2.2.
|
|
4
|
+
"version": "2.2.9",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/oclif/plugin-which/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@oclif/core": "^
|
|
8
|
+
"@oclif/core": "^2.0.3",
|
|
9
9
|
"tslib": "^2.4.1"
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"@oclif/plugin-help": "^5.
|
|
13
|
-
"@oclif/test": "^2.
|
|
12
|
+
"@oclif/plugin-help": "^5.2.0",
|
|
13
|
+
"@oclif/test": "^2.3.1",
|
|
14
14
|
"@types/chai": "^4.3.4",
|
|
15
15
|
"@types/mocha": "^9",
|
|
16
16
|
"@types/node": "^14.18.36",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"globby": "^11",
|
|
22
22
|
"mocha": "^9",
|
|
23
23
|
"nyc": "^15.1.0",
|
|
24
|
-
"oclif": "^
|
|
24
|
+
"oclif": "^3.6.1",
|
|
25
25
|
"shx": "^0.3.4",
|
|
26
26
|
"ts-node": "^9.0.0",
|
|
27
27
|
"typescript": "4.6.4"
|