Skip to content

Latest commit

 

History

History

start-tasks

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

octopus-start-tasks npm

Miscellaneous tasks for Start.

install

npm install --save-dev octopus-start-tasks

API

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}.