# asasugar-cli

> 生成多页、单页应用、npm插件开发模板cli工具

Latest version **1.0.2** (published 2022-02-11) · ISC license · 0 weekly downloads

## Install

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

Provides the command `asasugar-cli`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2022-02-11 |
| First published | 2022-02-09 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 7.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | asasugar |
| Maintainers | xuexiongjie |
| Keywords | cli, asasugar-cli |

## Links

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

## Dependencies (6)

- [ora](https://npm.io/package/ora.md) ^3.0.0
- [chalk](https://npm.io/package/chalk.md) ^2.4.1
- [inquirer](https://npm.io/package/inquirer.md) ^6.1.0
- [commander](https://npm.io/package/commander.md) ^2.17.1
- [obtain-git-repo](https://npm.io/package/obtain-git-repo.md) ^1.0.2
- [download-git-repo](https://npm.io/package/download-git-repo.md) ^1.1.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.0.2 (latest) — 2022-02-11
- 1.0.1 — 2022-02-09
- 1.0.0 — 2022-02-09
- 0.0.1 — 2022-02-09

## README

# asasugar-cli

> 多页应用模板 cli 工具（目前支持生成 html 跟 pug 两种方式）

> 单页应用模板支持 Vue 模板、React 模板

> npm插件开发模块支持pnpm管理package
## Start

```bash
# 全局安装cli
pnpm add asasugar-cli -g # use pnpm
npm i asasugar-cli -g # use npm
yarn add asasugar-cli global  # use yarn

# 查看版本
asasugar-cli -V

# 创建项目
asasugar-cli init
```


## How to Use [Pnpm](https://github.com/pnpm/pnpm)

```bash
# 全局安装
npm i pnpm -g
```

## How to Use Yarn

```bash
# 全局安装
npm i yarn -g

# 设置镜像源
yarn config set registry https://registry.npm.taobao.org --global
yarn config set disturl https://npm.taobao.org/dist --global
```

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