# cpn-cli

> 一个提供快速引入各种前端框架编写的可复用组件的脚手架

Latest version **1.1.7** (published 2025-04-04) · ISC license · 0 weekly downloads

## Install

```sh
npm install cpn-cli
pnpm add cpn-cli
yarn add cpn-cli
bun add cpn-cli
```

Provides the command `cpn-cli`.

## Health

**Score 25/100 (F)** — status: maintenance-mode.

Positive: no vulnerabilities.

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

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.7 |
| Published | 2025-04-04 |
| First published | 2023-02-01 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 9 |
| Unpacked size | 231.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | muzhidong |
| Maintainers | muzhidong |
| Keywords | cli, component |

## Links

- npm: https://www.npmjs.com/package/cpn-cli
- Repository: https://github.com/muzhidong/component-cli
- Homepage: https://github.com/muzhidong/component-cli#readme
- Issues: https://github.com/muzhidong/component-cli/issues
- npm.io page: https://npm.io/package/cpn-cli

## Dependencies (9)

- [ora](https://npm.io/package/ora.md) ^5.4.0
- [async](https://npm.io/package/async.md) 0.2.10
- [mkdirp](https://npm.io/package/mkdirp.md) ~0.5.1
- [inquirer](https://npm.io/package/inquirer.md) ^7.3.3
- [commander](https://npm.io/package/commander.md) ^7.2.0
- [underscore](https://npm.io/package/underscore.md) ^1.13.0
- [string-width](https://npm.io/package/string-width.md) ^4.2.0
- [@colors/colors](https://npm.io/package/@colors/colors.md) 1.5.0
- [inquirer-autocomplete-prompt](https://npm.io/package/inquirer-autocomplete-prompt.md) ^1.3.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

- 1.1.7 (latest) — 2025-04-04
- 1.1.6 — 2025-04-04
- 1.1.4 — 2023-04-05
- 1.1.3 — 2023-04-05
- 1.1.2 — 2023-02-02
- 1.1.1 — 2023-02-02
- 1.1.0 — 2023-02-02
- 1.0.0 — 2023-02-01

## README

# 组件脚手架
## 功能
- 提供select命令，选择组件，引进项目，快速应用；
- 提供相关操作命令管理组件；

## yarn安装
```bash
yarn global add cpn-cli
```

## 命令
- select

  选择组件

- list | ls

  显示项目模板或组件列表信息

- add

  添加组件

- delete | del

  删除某一组件

- update ｜ up

  更新组件


## 选项
- --version | -v

  查看版本信息

- --help | -h

  显示帮助信息

## 示例
```bash
# 选择组件
cpn-cli select

# 查看所有组件
cpn-cli ls

# 添加组件
cpn-cli add

# 更新组件
cpn-cli update

# 删除组件
cpn-cli del

# 查看版本信息
cpn-cli -V
```

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