1.0.5 • Published 7 years ago
future-cli v1.0.5
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