exe

execcli

Node.js module to execute CLI command on sub process.

Showing:

Popularity

Downloads/wk

4.7K

GitHub Stars

2

Maintenance

Last Commit

1yr ago

Contributors

3

Package

Dependencies

5

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

execcli

Build Status Code Climate Code Coverage npm Version

Execute CLI command on sub process.

Installation

npm install execcli --save

Usage

#!/usr/bin/env node

/**
 * This is an example to use execcli.
 */

'use strict'

const execcli = require('execcli')

// Equivalent to execute `ls -l .` from command line.
execcli('ls', [ '.', { 'l': true } ]).then(() => {
  /* ... */
})

Options

KeyDescriptionDefault
notfoundInstruction text when bin not found.''
cwdWorking directory pathprocess.cwd()

License

This software is released under the MIT License.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial