/**
 * Generate mock test data seed scaffold.
 * @function task.worker.generateDataSeedScaffold
 * @param {object} config - Task configuration
 * @param {string} settingFile - Setting file.
 * @param {string} destDir - Destination directory.
 * @param {function} callback - Callback when done.
 * @author Taka Okunishi
 */

var generateScaffold = require('./generate_scaffold');

module.exports = function (config, callback) {
    generateScaffold({
        settingFile: config.settingFile,
        tmplName: 'js/model-data-seed.js.hbs',
        destDir: config.destDir,
        destNameFormat: '%s-data-seed.js'
    }, function (err) {
        callback(err);
    });
};