# edev

> Run a series of scripts based on a configuration file and pipe their outputs to the console.

Latest version **1.0.0** (published 2018-04-30) · MIT license · 0 weekly downloads

## Install

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

Provides the command `edev`.

## 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 | 1.0.0 |
| Published | 2018-04-30 |
| First published | 2018-04-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Vlladin |
| Maintainers | vlladin |

## Links

- npm: https://www.npmjs.com/package/edev
- npm.io page: https://npm.io/package/edev

## Dependencies (1)

- [chalk](https://npm.io/package/chalk.md) ^2.4.1

## Recent versions

- 1.0.0 (latest) — 2018-04-30

## README

# edev

Execute multiple scripts in parallel and show their output in a unified console.

`edev` will read a configuration file and execute the scripts defined there.

# Installation

```bash
npm install -g edev
```

# Usage

First of all you must initialize the config file.
This will create a file named `edev.json`, in which you can define your scenarios.

By default `edev init` will populate the config file with some sample scenarios.

```bash
edev init
```

To list all available scenarios run

```bash
edev ls
```

To run a scenario named **demo** run

```bash
edev run demo
```

## The config file

`edev.json` should be at the root of your project, in the folder where you run `edev`.

The configuration file looks like this:

```json
{
  "ping": [
        {
            "name": "Ping example1",
            "command": "ping www.example1.com"
        },
        {
            "name": "Ping example2",
            "command": "ping www.example2.com"
        }
    ],
    "list": [
        {
            "name": "List all files",
            "command": "ls -lah"
        }
    ]
}
```

The first level contains the **scenario** name: **ping** and **list**.
You use the scenario name in `edev run [SCENARIO NAME]`

Each scenario is an array of *commands*. These commands will be executed in parallel.
A *command* has a `name` and a `command` parameter.
Name your commands as you please.

# License

MIT [http://rem.mit-license.org](http://rem.mit-license.org)

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