cortex-scaffold-generator
Generates the cortex scaffold files for new project.
Installation
npm install cortex-scaffold-generator --save
generator(pkg, options, callback)
-
pkg
Object
the object of cortex.json -
options
Object
- override
Boolean='false'
whether should override existing files - cwd
path
current working directory - template
String='default'
template name. Actually, there's only one available template which is'default'
. - license
String='MIT'
- neuron_version
String
version of neuron
- override
-
callback
function(err)
-
err
Error