apeman-task-seeddb

apeman task to generate seed data on DB

Usage no npm install needed!

<script type="module">
  import apemanTaskSeeddb from 'https://cdn.skypack.dev/apeman-task-seeddb';
</script>

README

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