xecutor

0.0.1 • Public • Published

Shell command runner for Node.js

Easily run shell commands from within Node.js

INSTALLATION

npm i xecutor or yarn add xecutor

USAGE

const cmd = require('xecutor')

// Run a command
cmd.run(`docker push fugroup/app`)

// Run multiple commands
cmd.run([
  `rm -rf app/config`,
  `cp -Rv ../app/config app`
])

// Run a command with options
// Options are the same as Node.js child_process.exec
cmd.run(`docker push fugroup/app`, { stdio: 'ignore' })

Enjoy! MIT Licensed.

Readme

Keywords

none

Package Sidebar

Install

npm i xecutor

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

2.19 kB

Total Files

5

Last publish

Collaborators

  • eldoy