apeman-task-seeddb

2.0.0 • Public • Published

apeman-task-seeddb

Build Status Code Climate Code Coverage npm Version JS Standard

apeman task to generate seed data on DB

Installation

$ npm install apeman-task-seeddb --save-dev

Usage

  1. Define a task within Apemanfile.js
  2. 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.

Links

/apeman-task-seeddb/

    Package Sidebar

    Install

    npm i apeman-task-seeddb

    Weekly Downloads

    3

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • okunishinishi