2.0.0 • Published 10 years ago

apeman-task-seeddb v2.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

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
NameTypeDefaultDescription
optionsobjectOptional settings.
options.forcebooleanForce to seed.

License

This software is released under the MIT License.

Links

2.0.0

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago