cortex-scaffold-generator

v1.2.0
cortex-scaffold-generator
cortex scaffold generator init

cortex-scaffold-generator NPM version Build Status Dependency Status

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
  • callback function(err)

  • err Error

Metadata

  • MIT
  • >=0.8.0
  • huweixuan
  • released 5/17/2014

Downloads