1.0.2 • Published 7 years ago
mos-plugin-execute v1.0.2
mos-plugin-execute
Mos plugin to inline a process output
Installation
npm install --save mos mos-plugin-execute
Usage
We can load this file via the example plugin. This mos plugin will execute the supplied command and inject it's output.
In the current README.md
we have this code snippet:
<!--@execute('echo', ['works'])-->
<!--/@-->
It produces this code block:
works
API
execute(command, args)