bootme-json-runner
Tool to use JSON or Javascript as pipeline definition.
Usage
const JsonRunner = const Bootme = const registry = const pipeline = registryconst jsonRunner = pipeline let config = task: 'request' info: 'Retrieve the IIS position' config: url: 'http://api.open-notify.org/iss-now.json' hooks: onInit: async {} onBefore: async {} onAfter: async {} onRollback: async {} task: 'temp' info: 'Create temp file' config: type: 'file' task: 'request' info: 'Start request against google' config: url: 'http://google.de' contentType: 'text' jsonRunner
Usage
- The runner try to load a NPM module in form
bootme-<task>
. - Any value inside the task key
config
property is used for the task configuration and is validated. - You can define hooks
onInit
,onRollback
,onBefore
,onAfter
. - The
info
property is used to describe the task and is used for debugging purpose.