smash-run
Task executor for smash-cli.
Installation
$ npm install smash-run
Usage
task.yml
Create Create {cwd}/.smash/task.yml
:
task-helloworld:
- name: smash-middleware-helloworld
- name: smash-middleware-helloworld
Run task
const smashRun = require('smash-run');
smashRun('task-helloworld');
// helloworld
// helloworld