1.0.5 • Published 9 years agoCLI
future-cli
Licence
MIT
Version
1.0.5
Deps
40
Vulns
2
Weekly
0
Future-cli
cli for f2e future static
Install
$ npm install -g future-cli
Usage
gfs
Default show help
$ gfs
gfs add
Add generator-name to current project
$ gfs add --template react --type component --name question-detail
$ gfs add --template react --type web --name question
###gfs rm Remove generator-name from current project, it will give a prompt before remove
$ 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
$ gfs build
$ gfs dev
$ gfs demo
$ gfs start