1 | # @oclif/plugin-which
|
2 |
|
3 | find which plugin a command is in
|
4 |
|
5 | [![Version](https://img.shields.io/npm/v/@oclif/plugin-which.svg)](https://npmjs.org/package/@oclif/plugin-which)
|
6 | [![Downloads/week](https://img.shields.io/npm/dw/@oclif/plugin-which.svg)](https://npmjs.org/package/@oclif/plugin-which)
|
7 | [![License](https://img.shields.io/npm/l/@oclif/plugin-which.svg)](https://github.com/oclif/plugin-which/blob/main/package.json)
|
8 |
|
9 |
|
10 | * [@oclif/plugin-which](#oclifplugin-which)
|
11 | * [Usage](#usage)
|
12 | * [Commands](#commands)
|
13 | * [Contributing](#contributing)
|
14 |
|
15 |
|
16 | # Usage
|
17 |
|
18 |
|
19 | ```sh-session
|
20 | $ npm install -g @oclif/plugin-which
|
21 | $ oclif-example COMMAND
|
22 | running command...
|
23 | $ oclif-example (--version)
|
24 | @oclif/plugin-which/3.2.15 linux-x64 node-v20.17.0
|
25 | $ oclif-example --help [COMMAND]
|
26 | USAGE
|
27 | $ oclif-example COMMAND
|
28 | ...
|
29 | ```
|
30 |
|
31 |
|
32 | # Commands
|
33 |
|
34 |
|
35 | * [`oclif-example which`](#oclif-example-which)
|
36 |
|
37 | ## `oclif-example which`
|
38 |
|
39 | Show which plugin a command is in.
|
40 |
|
41 | ```
|
42 | USAGE
|
43 | $ oclif-example which [--json]
|
44 |
|
45 | GLOBAL FLAGS
|
46 | --json Format output as json.
|
47 |
|
48 | DESCRIPTION
|
49 | Show which plugin a command is in.
|
50 |
|
51 | EXAMPLES
|
52 | See which plugin the `help` command is in:
|
53 |
|
54 | $ oclif-example which help
|
55 |
|
56 | Use colon separators.
|
57 |
|
58 | $ oclif-example which foo:bar:baz
|
59 |
|
60 | Use spaces as separators.
|
61 |
|
62 | $ oclif-example which foo bar baz
|
63 |
|
64 | Wrap command in quotes to use spaces as separators.
|
65 |
|
66 | $ oclif-example which "foo bar baz"
|
67 | ```
|
68 |
|
69 | _See code: [src/commands/which.ts](https://github.com/oclif/plugin-which/blob/v3.2.15/src/commands/which.ts)_
|
70 |
|
71 |
|
72 | # Contributing
|
73 |
|
74 | See [contributing guide](./CONRTIBUTING.md)
|