"use strict";
var create_1 = require('./create');
var index_1 = require('../index');
var _ = require('../../lodash.custom');
module.exports = create_1.api;
module.exports.getRunner = function getRunner(tasks, input, config) {
    return index_1.default({
        input: ['run'].concat(tasks),
        flags: _.assign({ handoff: true }, config)
    }, input || {});
};
module.exports.getWatcher = function getWatcher(tasks, input, config) {
    return index_1.default({
        input: ['watch'].concat(tasks),
        flags: _.assign({ handoff: true }, config)
    }, input || {});
};
module.exports.runner = function getRunner(tasks, input, config) {
    var result = index_1.default({
        input: ['run'].concat(tasks),
        flags: _.assign({ handoff: true }, config)
    }, input || {});
    return result.runner;
};
module.exports.run = function run(tasks, input, config) {
    return index_1.default({
        input: ['run'].concat(tasks),
        flags: config || {}
    }, input || {});
};
//# sourceMappingURL=index.js.map