UNPKG

1.65 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[![CircleCI](https://circleci.com/gh/oclif/plugin-which/tree/main.svg?style=shield)](https://circleci.com/gh/oclif/plugin-which/tree/main)
7[![Appveyor CI](https://ci.appveyor.com/api/projects/status/github/oclif/plugin-which?branch=main&svg=true)](https://ci.appveyor.com/project/oclif/plugin-which/branch/main)
8[![Downloads/week](https://img.shields.io/npm/dw/@oclif/plugin-which.svg)](https://npmjs.org/package/@oclif/plugin-which)
9[![License](https://img.shields.io/npm/l/@oclif/plugin-which.svg)](https://github.com/oclif/plugin-which/blob/main/package.json)
10
11<!-- toc -->
12* [@oclif/plugin-which](#oclifplugin-which)
13* [Usage](#usage)
14* [Commands](#commands)
15<!-- tocstop -->
16
17# Usage
18
19<!-- usage -->
20```sh-session
21$ npm install -g @oclif/plugin-which
22$ oclif-example COMMAND
23running command...
24$ oclif-example (--version)
25@oclif/plugin-which/3.1.1 linux-x64 node-v20.11.1
26$ oclif-example --help [COMMAND]
27USAGE
28 $ oclif-example COMMAND
29...
30```
31<!-- usagestop -->
32
33# Commands
34
35<!-- commands -->
36* [`oclif-example which`](#oclif-example-which)
37
38## `oclif-example which`
39
40Show which plugin a command is in.
41
42```
43USAGE
44 $ oclif-example which [--json]
45
46GLOBAL FLAGS
47 --json Format output as json.
48
49DESCRIPTION
50 Show which plugin a command is in.
51
52EXAMPLES
53 See which plugin the `help` command is in:
54
55 $ oclif-example which help
56```
57
58_See code: [src/commands/which.ts](https://github.com/oclif/plugin-which/blob/v3.1.1/src/commands/which.ts)_
59<!-- commandsstop -->