# m-fe-plugin-plugin

> 插件管理插件

Latest version **0.1.2** (published 2022-05-02) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install m-fe-plugin-plugin
pnpm add m-fe-plugin-plugin
yarn add m-fe-plugin-plugin
bun add m-fe-plugin-plugin
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2022-05-02 |
| First published | 2022-05-02 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 24.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | haimian |
| Maintainers | chj736881645 |
| Keywords | plugin, m-fe-cli |

## Links

- npm: https://www.npmjs.com/package/m-fe-plugin-plugin
- npm.io page: https://npm.io/package/m-fe-plugin-plugin

## Dependencies (5)

- [chalk](https://npm.io/package/chalk.md) ^4.1.0
- [table](https://npm.io/package/table.md) ^6.0.4
- [fs-extra](https://npm.io/package/fs-extra.md) ^9.0.1
- [m-cli-utils](https://npm.io/package/m-cli-utils.md) latest
- [@irim/cli-base](https://npm.io/package/@irim/cli-base.md) ^1.1.8

## Recent versions

- 0.1.2 (latest) — 2022-05-02

## README

`m-fe-cli-tool` 插件管理插件

## Getting Started

* `$ fe plugin ls` fe cli tool会自动安装plugin-plugin插件

### 使用

* `$ fe plugin list(ls|l)` 显示所有已安装插件
* `$ fe plugin del(d) [xxx]` 删除本地指定插件
* `$ fe plugin clear(c)` 清除所有已安装插件
* `$ fe plugin update(u) [xxx]` 更新本地插件
* `$ fe plugin install(i) xxx` 安装插件

## API

## DEVELOPMENT

1. 调试方法：执行 npm run link，会将插件目录软链到 feconfig/lib/node_modules 目录下
   执行方法时，请带上 --no-check 参数，避免触发版本检查，例如： `fe aaa --no-check`

2. @irim/cli-base 中封装了一些常用的方法（建议直接查看文档 https://www.npmjs.com/package/@irim/cli-base）
   比如 进度条、node控制台二次交互（input, confirm, select, holding 等）、

        遍历目录文件、统计目录中文件数量、逐个复制目录文件、从目录中查找文件内容 等

---
_Source: https://npm.io/package/m-fe-plugin-plugin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
