apeman-task-seeddb
v2.0.0
Published
apeman task to generate seed data on DB
Downloads
14
Readme
apeman-task-seeddb
apeman task to generate seed data on DB
Installation
$ npm install apeman-task-seeddb --save-devUsage
- Define a task within Apemanfile.js
- Call the task via apeman task command.
Apemanfile.js
/** This is an example Apemanfile to use apeman-task-seeddb */
'use strict'
module.exports = {
$pkg: { /* ... */ },
$tasks: {
// Define your own task.
'my-task-01': require('apeman-task-seeddb')({
// Options
})
}
}
Then,
$ apeman task my-task-01Signature
apemanTaskSeeddb(options) -> function
apeman task to generate seed data on DB
Args
| Name | Type | Default | Description | | --- | ---- | --- | --- | | options | object | | Optional settings. | | options.force | boolean | | Force to seed. |
License
This software is released under the MIT License.
