execcli
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 = // Equivalent to execute `ls -l .` from command line.
Options
Key | Description | Default |
---|---|---|
notfound | Instruction text when bin not found. | '' |
cwd | Working directory path | process.cwd() |
License
This software is released under the MIT License.