@oclif/plugin-which
Version:
find which plugin a command is in
75 lines (51 loc) • 1.66 kB
Markdown
# @oclif/plugin-which
find which plugin a command is in
[](https://npmjs.org/package/@oclif/plugin-which)
[](https://npmjs.org/package/@oclif/plugin-which)
[](https://github.com/oclif/plugin-which/blob/main/package.json)
<!-- toc -->
* [@oclif/plugin-which](#oclifplugin-which)
* [Usage](#usage)
* [Commands](#commands)
* [Contributing](#contributing)
<!-- tocstop -->
# Usage
<!-- usage -->
```sh-session
$ npm install -g @oclif/plugin-which
$ oclif-example COMMAND
running command...
$ oclif-example (--version)
@oclif/plugin-which/3.2.34 linux-x64 node-v22.14.0
$ oclif-example --help [COMMAND]
USAGE
$ oclif-example COMMAND
...
```
<!-- usagestop -->
# Commands
<!-- commands -->
* [`oclif-example which`](#oclif-example-which)
## `oclif-example which`
Show which plugin a command is in.
```
USAGE
$ oclif-example which [--json]
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Show which plugin a command is in.
EXAMPLES
See which plugin the `help` command is in:
$ oclif-example which help
Use colon separators.
$ oclif-example which foo:bar:baz
Use spaces as separators.
$ oclif-example which foo bar baz
Wrap command in quotes to use spaces as separators.
$ oclif-example which "foo bar baz"
```
_See code: [src/commands/which.ts](https://github.com/oclif/plugin-which/blob/v3.2.34/src/commands/which.ts)_
<!-- commandsstop -->
# Contributing
See [contributing guide](./CONRTIBUTING.md)