Skip to content

PDDStudio/shelljs-plugin-bash-exec

Repository files navigation

shelljs-plugin-bash-exec

Travis npm shelljs-plugin

A ShellJS plugin to add a .bashExec() method.

Installation

$ npm install --save shelljs
$ npm install --save shelljs-plugin-bash-exec

Usage

Use this plugin like so:

require('shelljs-plugin-bash-exec');
var shell = require('shelljs);

shell.bashExec('command-to-execute');
...

Writing ShellJS plugins

If you're interested in taking a look at the current state of the ShellJS plugin API, take a look at index.js. This has helpful comments explaining the necessary boilerplate for writing a plugin. For an example usage of the plugin, take a look at test/test.js.

About

A ShellJS plugin to execute commands using bash.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published