0.0.11 • Published 8 years ago
octopus-start-tasks v0.0.11
octopus-start-tasks 
Miscellaneous tasks for Start.
install
npm install --save-dev octopus-start-tasksAPI
props(obj)
Start task that maps provided object values, which are of input => Promise.
Say given input is String 'what', then:
props({one: input => 'say ' + what})will return {one: 'say what'}.
log(strOrFn)
Start task that logs provided String or function input => String via Start reporter.
readJson(fileName)
Start task that reads json file and returns a json object.
exec(cmd)
Start task that executed a command and returns {stdout, stderr}.