# fozero-cli

> A light tool to generate projects in an easy way

Latest version **1.0.2** (published 2018-05-14) · MIT license · 0 weekly downloads

## Install

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

Provides the command `fozero`.

## 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 | 2018-05-14 |
| First published | 2018-05-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 7.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | fozero |
| Maintainers | fozero |
| Keywords | fozero |

## Links

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

## Dependencies (4)

- [co](https://npm.io/package/co.md) ^4.6.0
- [chalk](https://npm.io/package/chalk.md) ^1.1.3
- [co-prompt](https://npm.io/package/co-prompt.md) ^1.0.0
- [commander](https://npm.io/package/commander.md) ^2.9.0

## Recent versions

- 1.0.2 (latest) — 2018-05-14
- 1.0.1 — 2018-05-14
- 1.0.0 — 2018-05-14

## README

# fozero-cli
> A light tool to generate projects in an easy way，you can choise the template with you like.

# Installation
```
npm install -g fozero-cli
```
or
```
git clone https://github.com/fozero/fozero-cli.git

cd fozero-cli && npm install

npm link
```

# Usage
Open your terminal and type fozero or fozero -h , you'll see the help infomation below:
```
$ fozero

  Usage: fozero <command>

  Options:

    -V, --version  output the version number
    -h, --help     output usage information

  Commands:

    add|a          Add a new template
    init|i         Generate a new project
    list|l         List all the templates
    delete|d       Delete a template
```


Example:

list the template
```
$ fozero list
{ 'template-gulp':
   { url: 'https://github.com/fozero/template-gulp.git',
     branch: 'master' } }
```

generate a project
```
$ fozero init
Template name: template-gulp
Project name: yd-page

 Start generating...

 √ Generation completed!

 cd yd-page && npm install
```


# Official Templates
All official project templates are repos in the [https://github.com/fozero](https://github.com/fozero)
You can run `fozero list` to see all available official templates.

Current available templates include:

- [template-gulp](https://github.com/fozero/template-gulp) - A gulp automated build project template, support for less compile, html, css, js files and image compression, automatically add browser prefix, file browser automatically refresh the local development environment.


# License
MIT.

# Contact
- 如有问题，欢迎给我提[issues](https://github.com/fozero/fozero-cli/issues)
- [https://github.com/fozero](https://github.com/fozero)

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