# execcli

> Execute CLI command on sub process.

Latest version **5.0.6** (published 2019-02-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install execcli
pnpm add execcli
yarn add execcli
bun add execcli
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 5.0.6 |
| Published | 2019-02-24 |
| First published | 2015-07-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8 |
| Dependencies | 5 |
| Unpacked size | 41.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Taka Okunishi |
| Maintainers | okunishinishi |
| Keywords | CLI, child_process, command, exec |

## Links

- npm: https://www.npmjs.com/package/execcli
- Repository: https://github.com/okunishinishi/node-execcli
- Homepage: https://github.com/okunishinishi/node-execcli#readme
- Issues: https://github.com/okunishinishi/node-execcli/issues
- npm.io page: https://npm.io/package/execcli

## Dependencies (5)

- [argx](https://npm.io/package/argx.md) ^4.0.0
- [hasbin](https://npm.io/package/hasbin.md) ^1.2.3
- [findout](https://npm.io/package/findout.md) ^3.0.2
- [stringcase](https://npm.io/package/stringcase.md) ^4.3.0
- [arrayreduce](https://npm.io/package/arrayreduce.md) ^2.1.0

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 5.0.6 (latest) — 2019-02-24
- 5.0.5 — 2019-02-24
- 5.0.4 — 2019-02-24
- 5.0.3 — 2018-12-16
- 5.0.2 — 2017-10-07
- 5.0.1 — 2017-09-17
- 5.0.0 — 2017-05-30
- 4.0.11 — 2017-03-11
- 4.0.10 — 2016-09-11
- 4.0.9 — 2016-09-11
- 4.0.8 — 2016-07-30
- 4.0.7 — 2016-07-30
- 4.0.6 — 2016-06-26
- 4.0.5 — 2016-05-24
- 4.0.4 — 2016-05-21
- … 21 more at https://npm.io/package/execcli/versions

## README

execcli
==========

<!---
This file is generated by ape-tmpl. Do not update manually.
--->

<!-- Badge Start -->
<a name="badges"></a>

[![Build Status][bd_travis_shield_url]][bd_travis_url]
[![Code Climate][bd_codeclimate_shield_url]][bd_codeclimate_url]
[![Code Coverage][bd_codeclimate_coverage_shield_url]][bd_codeclimate_url]
[![npm Version][bd_npm_shield_url]][bd_npm_url]

[bd_repo_url]: https://github.com/okunishinishi/node-execcli
[bd_travis_url]: http://travis-ci.org/okunishinishi/node-execcli
[bd_travis_shield_url]: http://img.shields.io/travis/okunishinishi/node-execcli.svg?style=flat
[bd_travis_com_url]: http://travis-ci.com/okunishinishi/node-execcli
[bd_travis_com_shield_url]: https://api.travis-ci.com/okunishinishi/node-execcli.svg?token=
[bd_license_url]: https://github.com/okunishinishi/node-execcli/blob/master/LICENSE
[bd_codeclimate_url]: http://codeclimate.com/github/okunishinishi/node-execcli
[bd_codeclimate_shield_url]: http://img.shields.io/codeclimate/github/okunishinishi/node-execcli.svg?style=flat
[bd_codeclimate_coverage_shield_url]: http://img.shields.io/codeclimate/coverage/github/okunishinishi/node-execcli.svg?style=flat
[bd_gemnasium_url]: https://gemnasium.com/okunishinishi/node-execcli
[bd_gemnasium_shield_url]: https://gemnasium.com/okunishinishi/node-execcli.svg
[bd_npm_url]: http://www.npmjs.org/package/execcli
[bd_npm_shield_url]: http://img.shields.io/npm/v/execcli.svg?style=flat
[bd_standard_url]: http://standardjs.com/
[bd_standard_shield_url]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg

<!-- Badge End -->


<!-- Description Start -->
<a name="description"></a>

Execute CLI command on sub process.

<!-- Description End -->




<!-- Sections Start -->
<a name="sections"></a>

<!-- Section from "doc/guides/01.Installation.md.hbs" Start -->

<a name="section-doc-guides-01-installation-md"></a>

Installation
-----

```bash
npm install execcli --save
```


<!-- Section from "doc/guides/01.Installation.md.hbs" End -->

<!-- Section from "doc/guides/02.Usage.md.hbs" Start -->

<a name="section-doc-guides-02-usage-md"></a>

Usage
----

```javascript
#!/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(() => {
  /* ... */
})

````

<!-- Section from "doc/guides/02.Usage.md.hbs" End -->

<!-- Section from "doc/guides/03.Options.md.hbs" Start -->

<a name="section-doc-guides-03-options-md"></a>

Options
-------

| Key | Description | Default |
| --- | --- | --- |
| notfound |  Instruction text when bin not found. | '' |
| cwd | Working directory path | process.cwd() |


<!-- Section from "doc/guides/03.Options.md.hbs" End -->


<!-- Sections Start -->


<!-- LICENSE Start -->
<a name="license"></a>

License
-------
This software is released under the [MIT License](https://github.com/okunishinishi/node-execcli/blob/master/LICENSE).

<!-- LICENSE End -->

---
_Source: https://npm.io/package/execcli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
