lib-proto-job
v0.1.0
Published
json protocol for job/task declaration
Downloads
12
Readme
lib-proto-job
json protocol for job declaration
install
npm install --save lib-proto-job
usage
var proto = require('lib-proto-job');
var job = proto.job.marshal({
tasks: [
{exec: 'ls', args: ['-al'], envs: process.env, cwd: process.cwd()}
]
});
// job is a validated object