Scaffold for sails
Last updated 5 years ago by r3nanfm .
MIT · Original npm · Tarball · package.json
$ cnpm install grt-scaffold 
SYNC missed versions from official npm registry.


It was wrote with NodeJS with Sails.js Framework.

For installation on your project just add using npm:

$ cd your project
$ npm install grt-scaffold

How to use?

$ cd your project/node_modules/grt-scaffold
$ node grt-scaffold.js -d controller:../../api/controllers -d view:../../views -a -t twitter -f ../../api/models/yourModel.js

List of options commands:

Usage: grt-scaffold [options] [option value] type
Attention: Remeber to enable the Bootstrap in your layout

       --version       Display the current version.
   -h, --help          Display help and usage details.
   -t  --type	       View type of Bootstrap
   -c  --controller    Generate Controller
   -v  --view	       Generate View
   -a  --all	       Generate all
   -f  --file          File to read
   -d  --dest	       Parameter to destination dir ( colon [view|controller] ) Ex: Controller,View

Option Value:

Current Tags

  • 0.0.2                                ...           latest (5 years ago)

2 Versions

  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (0)
Dependents (1)

Copyright 2014 - 2016 © |