README
apeman-task-seeddb
apeman task to generate seed data on DB
Installation
$ npm install apeman-task-seeddb --save-dev
Usage
- 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-01
Signature
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.