/mos-plugin-execute

Mos plugin to inline a process output

Primary LanguageJavaScriptMIT LicenseMIT

mos-plugin-execute

Mos plugin to inline a process output

npm version

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)

License

MIT © Renan Mendes Carvalho