# @dotcom-tool-kit/oclif-plugin-app-plugins

> An [Oclif](https://oclif.io) plugin that loads other [Oclif](https://oclif.io) plugins. This lets apps install the `dotcom-tool-kit` CLI and separate plugins based on their use cases.

Latest version **0.0.5** (published 2021-03-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install @dotcom-tool-kit/oclif-plugin-app-plugins
pnpm add @dotcom-tool-kit/oclif-plugin-app-plugins
yarn add @dotcom-tool-kit/oclif-plugin-app-plugins
bun add @dotcom-tool-kit/oclif-plugin-app-plugins
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2021-03-17 |
| First published | 2021-03-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8.0.0 |
| Dependencies | 5 |
| Unpacked size | 5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | FT.com Platforms Team |
| Maintainers | the-ft, quarterto |
| Keywords | oclif-plugin |

## Links

- npm: https://www.npmjs.com/package/@dotcom-tool-kit/oclif-plugin-app-plugins
- Repository: https://github.com/financial-times/dotcom-tool-kit
- Homepage: https://github.com/financial-times/dotcom-tool-kit/main/packages/oclif-plugin-app-plugins
- Issues: https://github.com/financial-times/dotcom-tool-kit/issues
- npm.io page: https://npm.io/package/@dotcom-tool-kit/oclif-plugin-app-plugins

## Dependencies (5)

- [tslib](https://npm.io/package/tslib.md) ^1.14.1
- [cli-ux](https://npm.io/package/cli-ux.md) ^5.5.1
- [read-pkg-up](https://npm.io/package/read-pkg-up.md) ^7.0.1
- [@oclif/config](https://npm.io/package/@oclif/config.md) ^1.17.0
- [@oclif/command](https://npm.io/package/@oclif/command.md) ^1.8.0

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 0.0.5 (latest) — 2021-03-17
- 0.0.4 — 2021-03-15
- 0.0.3 — 2021-03-10
- 0.0.2 — 2021-03-10

## README

# oclif-plugin-app-plugins

An [Oclif](https://oclif.io) plugin that loads other [Oclif](https://oclif.io) plugins. This lets apps install the `dotcom-tool-kit` CLI and separate plugins based on their use cases.

## Using from an app

Apps don't use this plugin directly, it'll be installed as part of a CLI. The CLI specifies a prefix, and this plugin will load any plugins you have installed as `devDependencies` that begin with that prefix. For example, with `dotcom-tool-kit`, you might have the following in your app's `package.json`:

```json
{
  "devDependencies": {
    "dotcom-tool-kit": "^1.0.0",
    "@dotcom-tool-kit/eslint": "^1.0.0",
  }
}
```

When `dotcom-tool-kit` is run from this repo, it will load the `@dotcom-tool-kit/eslint` plugin.

## Using in an Oclif CLI

Install `@dotcom-tool-kit/oclif-plugin-app-plugins` as a dependency of your CLI:

```sh
npm install --save @dotcom-tool-kit/oclif-plugin-app-plugins
```

In your `package.json`, add the plugin to `oclif.plugins`. You'll need to specify the prefix to load with the property `oclif.appPlugins.prefix`. Packages in an app's `devDependencies` starting with this prefix will be automatically loaded.

```json
{
  "oclif": {
    "plugins": [
      "@dotcom-tool-kit/oclif-plugin-app-plugins"
    ],
    "appPlugins": {
      "prefix": "@dotcom-tool-kit/"
    }
  }
}

---
_Source: https://npm.io/package/@dotcom-tool-kit/oclif-plugin-app-plugins · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
