sails-generate-generator
Generate a sails generator.
Last updated 12 years ago by balderdashy .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install sails-generate-generator 
SYNC missed versions from official npm registry.

image_squidhome@2x.png

generator generator

A Sails generator for Sails generators. Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo!

Installation

Already included in Sails.

Usage

On the command line
$ sails generate generator foo
In a node script
var generate = require('sails-generate');
var scope = {};
generate(require('sails-generate-generator'), scope, function (err, output) {
	if (err) throw err;

	// Log output for your enjoyment:
	console.log(output);
});

Development

To get started quickly and see this generator in action, run the bin/index.js script:

$ git clone YOUR_FORK_OF_THIS_REPO sails-generate-generator-fork
$ cd sails-generate-generator-fork
$ npm install
$ node ./bin

bin/index.js is a simple script, bundled only for convenience, that runs the generator with hard-coded scope variables. Please feel free to modify that file however you like! Also see CONTRIBUTING.md for more information on overriding/enhancing generators.

Questions?

See FAQ.md.

More Resources

License

MIT © 2014 Mike McNeil, Balderdash & contributors


As for Sails? It's free and open-source under the MIT License.

Current Tags

  • 0.10.11                                ...           latest (12 years ago)

10 Versions

  • 0.10.11                                ...           12 years ago
  • 0.10.10                                ...           12 years ago
  • 0.10.9                                ...           12 years ago
  • 0.10.8                                ...           12 years ago
  • 0.10.5                                ...           12 years ago
  • 0.10.4                                ...           12 years ago
  • 0.10.3                                ...           12 years ago
  • 0.10.2                                ...           12 years ago
  • 0.10.1                                ...           12 years ago
  • 0.10.0                                ...           12 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 10
Dependencies (2)
Dev Dependencies (3)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |