errand-exec

0.1.2 • Public • Published

errand-exec

errand worker component for running files in shell

Usage


npm install errand-exec

For dependencies and suggested usage of errand worker components refer to errand

Example


{
	"tasks": [

		{
			"task": "errand-logger",
			"data": {
				"description": "replace-with-task-description",
				"request": {
					"command": "echo 'hello world'"
				}
			}
		}

	]
}

Notes:

  • tasks - errand task list
  • tasks[].task - required errand-logger task name
  • tasks[].data.description - optional task description
  • tasks[].data.request.command - required command to run

Readme

Keywords

none

Package Sidebar

Install

npm i errand-exec

Weekly Downloads

0

Version

0.1.2

License

MIT

Last publish

Collaborators

  • mattcam