gfs-cli
cli for generator-future-static
Last updated 3 years ago by future_team .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gfs-cli 
SYNC missed versions from official npm registry.

gfs-cli

cli for f2e future static

Install

$ npm install -g gfs-cli

Usage

gfs

Default show help

$ gfs 

project template

Supported project template generated by future-static maps list:

project type cli template file type
webpack+react+redux+cortex react-redux web, component
webpack+react react-dm web(default)
webpack+jquery+handlebars+cortex -- --
module-template(jquery or react) -- --
module-ts-template -- --

you can use it like:

# add `webpack+react+redux+cortex` component files
$ gfs add --template react-redux --type component --name question-detail

# add `webpack+react+redux+cortex` web files
$ gfs add --template react-redux --type web --name question

# add `webpack+react` web files
$ gfs add --template react-dm --name question

gfs add <project-type> <generator-name> <name> <options>

Add generator-name to current project

$ gfs add --template react-redux --type component --name question-detail
$ gfs add --template react-redux --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

$ gfs rm --template react-redux --type component --name question-detail
$ gfs rm --template react-redux --type web --name question

npm alias

Some aliases for npm script, this dependency your package.json script config

$ gfs build
$ gfs dev
$ gfs demo
$ gfs start

Test

$ npm run test

Current Tags

  • 1.1.0                                ...           latest (3 years ago)

2 Versions

  • 1.1.0                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 5
Dependencies (36)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |