# @coco-platform/cli

> private scaffolding tool.

Latest version **0.4.2** (published 2018-04-10) · ISC license · 0 weekly downloads

## Install

```sh
npm install @coco-platform/cli
pnpm add @coco-platform/cli
yarn add @coco-platform/cli
bun add @coco-platform/cli
```

Provides the command `coco`.

## 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.4.2 |
| Published | 2018-04-10 |
| First published | 2017-11-18 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | bornkiller |
| Maintainers | bornkiller |

## Links

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

## Dependencies (3)

- [chalk](https://npm.io/package/chalk.md) ^2.3.0
- [commander](https://npm.io/package/commander.md) ^2.12.2
- [@coco-platform/tools](https://npm.io/package/@coco-platform/tools.md) ^0.4.6

## Recent versions

- 0.4.2 (latest) — 2018-04-10
- 0.3.36 (orgspa-patch) — 2018-12-14
- 0.3.28 (next) — 2017-12-07
- 0.3.35 — 2018-12-14
- 0.3.34 — 2018-12-14
- 0.4.1 — 2018-01-24
- 0.4.0 — 2017-12-30
- 0.3.33 — 2017-12-23
- 0.3.31 — 2017-12-20
- 0.3.30 — 2017-12-13
- 0.3.29 — 2017-12-07
- 0.3.27 — 2017-12-06
- 0.3.26 — 2017-11-18
- 0.3.25 — 2017-11-18

## README

# @coco-platform/cli
yet, another scaffolding tool.

## Install
```shell
# yarn global
yarn global add @coco-platform/cli;
# yarn local
yarn add @coco-platform/cli --dev;
```

## Usage
```shell
# list all available template
coco-list;

# generate project from template
coco-init [options] <project> <template>;

# start develop server
coco-server --bootstrap ./src/main.js;

# compile client side project
coco-build --bootstrap ./src/main.js --public-path /platform/;

# compile ssr project
coco-ssr --bootstrap ./src/main.ssr.js;

# bundle library exports
coco-bundle <entry>;

# analyze critical
coco-critical 'dist/**/*.html';

# pre-render routes
coco-render --routes '/,/gallery,/review';

# static server to preview
coco-static --root ./dist/client;
```

## Contact
<hjj491229492@hotmail.com>

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