An open API service indexing awesome lists of open source software.

https://github.com/oclif/plugin-which


https://github.com/oclif/plugin-which

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# @oclif/plugin-which

find which plugin a command is in

[![Version](https://img.shields.io/npm/v/@oclif/plugin-which.svg)](https://npmjs.org/package/@oclif/plugin-which)
[![Downloads/week](https://img.shields.io/npm/dw/@oclif/plugin-which.svg)](https://npmjs.org/package/@oclif/plugin-which)
[![License](https://img.shields.io/npm/l/@oclif/plugin-which.svg)](https://github.com/oclif/plugin-which/blob/main/package.json)

- [@oclif/plugin-which](#oclifplugin-which)
- [Usage](#usage)
- [Commands](#commands)
- [Contributing](#contributing)

# Usage

```sh-session
$ npm install -g @oclif/plugin-which
$ oclif-example COMMAND
running command...
$ oclif-example (--version)
@oclif/plugin-which/3.2.47 linux-x64 node-v20.20.1
$ oclif-example --help [COMMAND]
USAGE
$ oclif-example COMMAND
...
```

# 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/3.2.47/src/commands/which.ts)_

# Contributing

See [contributing guide](./CONRTIBUTING.md)