node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

cortex-scaffold-generator

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