UNPKG

1.66 kBMarkdownView Raw
1# @oclif/plugin-which
2
3find 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<!-- toc -->
10* [@oclif/plugin-which](#oclifplugin-which)
11* [Usage](#usage)
12* [Commands](#commands)
13* [Contributing](#contributing)
14<!-- tocstop -->
15
16# Usage
17
18<!-- usage -->
19```sh-session
20$ npm install -g @oclif/plugin-which
21$ oclif-example COMMAND
22running command...
23$ oclif-example (--version)
24@oclif/plugin-which/3.2.15 linux-x64 node-v20.17.0
25$ oclif-example --help [COMMAND]
26USAGE
27 $ oclif-example COMMAND
28...
29```
30<!-- usagestop -->
31
32# Commands
33
34<!-- commands -->
35* [`oclif-example which`](#oclif-example-which)
36
37## `oclif-example which`
38
39Show which plugin a command is in.
40
41```
42USAGE
43 $ oclif-example which [--json]
44
45GLOBAL FLAGS
46 --json Format output as json.
47
48DESCRIPTION
49 Show which plugin a command is in.
50
51EXAMPLES
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<!-- commandsstop -->
71
72# Contributing
73
74See [contributing guide](./CONRTIBUTING.md)