# future-cli

> cli for generator-future-static

Latest version **1.0.5** (published 2016-12-12) · MIT license · 0 weekly downloads

## Install

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

Provides the command `gfs`.

## 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.5 |
| Published | 2016-12-12 |
| First published | 2016-12-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 40 |
| Known vulnerabilities | 0 (+2 in 2 direct dependencies) |
| Install scripts | no |
| Author | genffy |
| Maintainers | future_team |

## Links

- npm: https://www.npmjs.com/package/future-cli
- npm.io page: https://npm.io/package/future-cli

## Dependencies (40)

- [ncp](https://npm.io/package/ncp.md) ^2.0.0
- [opn](https://npm.io/package/opn.md) ^4.0.2
- [ora](https://npm.io/package/ora.md) ^0.2.3
- [uid](https://npm.io/package/uid.md) 0.0.2
- [meow](https://npm.io/package/meow.md) ^3.7.0
- [async](https://npm.io/package/async.md) ^2.0.0-rc.2
- [chalk](https://npm.io/package/chalk.md) ^1.1.3
- [assert](https://npm.io/package/assert.md) ^1.4.1
- [globby](https://npm.io/package/globby.md) ^6.0.0
- [lodash](https://npm.io/package/lodash.md) ^4.16.5
- [rimraf](https://npm.io/package/rimraf.md) ^2.5.4
- [semver](https://npm.io/package/semver.md) ^5.1.0
- [insight](https://npm.io/package/insight.md) ^0.8.3
- [js-yaml](https://npm.io/package/js-yaml.md) ^3.6.1
- [request](https://npm.io/package/request.md) ^2.67.0
- [cli-list](https://npm.io/package/cli-list.md) ^0.2.0
- [fs-extra](https://npm.io/package/fs-extra.md) ^1.0.0
- [fullname](https://npm.io/package/fullname.md) ^3.1.0
- [inquirer](https://npm.io/package/inquirer.md) ^0.12.0
- [titleize](https://npm.io/package/titleize.md) ^1.0.0
- [commander](https://npm.io/package/commander.md) ^2.9.0
- [git-clone](https://npm.io/package/git-clone.md) ^0.1.0
- [minimatch](https://npm.io/package/minimatch.md) ^3.0.0
- [untildify](https://npm.io/package/untildify.md) ^3.0.2
- [babel-core](https://npm.io/package/babel-core.md) ^6.18.2
- [handlebars](https://npm.io/package/handlebars.md) ^4.0.5
- [metalsmith](https://npm.io/package/metalsmith.md) ^2.1.0
- [root-check](https://npm.io/package/root-check.md) ^1.0.0
- [configstore](https://npm.io/package/configstore.md) ^2.1.0
- [consolidate](https://npm.io/package/consolidate.md) ^0.14.0
- [file-loader](https://npm.io/package/file-loader.md) ^0.9.0
- [read-pkg-up](https://npm.io/package/read-pkg-up.md) ^2.0.0
- [babel-loader](https://npm.io/package/babel-loader.md) ^6.2.7
- [read-metadata](https://npm.io/package/read-metadata.md) ^1.0.0
- [string-length](https://npm.io/package/string-length.md) ^1.0.1
- [update-notifier](https://npm.io/package/update-notifier.md) ^1.0.2
- [download-git-repo](https://npm.io/package/download-git-repo.md) ^0.2.1
- [yeoman-environment](https://npm.io/package/yeoman-environment.md) ^1.6.5
- [escape-string-regexp](https://npm.io/package/escape-string-regexp.md) ^1.0.5
- [validate-npm-package-name](https://npm.io/package/validate-npm-package-name.md) ^2.2.2

## Recent versions

- 1.0.5 (latest) — 2016-12-12
- 1.0.4 — 2016-12-12
- 1.0.3 — 2016-12-12
- 1.0.2 — 2016-12-12
- 1.0.1 — 2016-12-08
- 1.0.0 — 2016-12-07

## README

# Future-cli
cli for f2e future static 

## Install

```bash
$ npm install -g future-cli
```

## Usage
### gfs
Default show help
```bash
$ gfs 
```

### gfs add <project-type> <generator-name> <name> <options>
Add generator-name to current project
```bash
$ gfs add --template react --type component --name question-detail
$ gfs add --template react --type web --name question
```  

###gfs rm <project-type> <generator-name> <name> <options>
Remove generator-name from current project, it will give a prompt before remove
```bash
$ gfs rm --template react --type component --name question-detail
$ gfs rm --template react --type web --name question
```
NOTE: At current version, only support project template is `webpack+react+redux+cortex`, the `--template` option is default config as `react`, so you can just type `gfs add/rm --type component --name question-detail`


### npm alias
Some aliases for npm script, this dependency your `package.json` script config
```bash
$ gfs build
$ gfs dev
$ gfs demo
$ gfs start
```

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