slush-productive

0.1.2 • Public • Published

Slush Productive

Dependency Status

NPM

Slush abstraction focusing on productivity

Instalation

npm install slush-productive gulp

Usage

'use strict';
 
var questions = [{
    type: 'input',
    name: 'name',
    message: 'Project name',
    validator: 'notEmpty'
}];
 
var tasks = [
    function logs(answers, callback) {
        console.log(answers);
        callback();
    },
 
    function anotherTask(answers, callback) {
        ....
    }
];
 
function answersParse(answers) {
    ansewers.name = "X - " + answers.name;
    return answers;
}
 
var slush = require('slush-productive')({
    questions: questions,
    tasks: tasks,
    answers: answersParse
});

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.20latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.20
0.1.10
0.1.00

Package Sidebar

Install

npm i slush-productive

Weekly Downloads

0

Version

0.1.2

License

none

Last publish

Collaborators

  • brunobertolini