# @runner/cli

> Simple task runner command-line interface.￼

Latest version **1.0.1** (published 2018-06-07) · GPL-3.0 license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @runner/cli
pnpm add @runner/cli
yarn add @runner/cli
bun add @runner/cli
```

Provides the command `runner`.

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2018-06-07 |
| First published | 2018-06-05 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 4.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Stanislav Kalashnik |
| Maintainers | runner |
| Keywords | task, runner, cli |

## Links

- npm: https://www.npmjs.com/package/@runner/cli
- Repository: https://github.com/runner/cli
- Homepage: https://github.com/runner/cli#readme
- Issues: https://github.com/runner/cli/issues
- npm.io page: https://npm.io/package/@runner/cli

## Dependencies (3)

- [commander](https://npm.io/package/commander.md) 2.*.*
- [@runner/core](https://npm.io/package/@runner/core.md) ^1.0.0
- [@runner/logger](https://npm.io/package/@runner/logger.md) ^1.0.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

- 1.0.1 (latest) — 2018-06-07
- 1.0.0 — 2018-06-05

## README

Task runner CLI
===============

[![build status](https://img.shields.io/travis/runner/cli.svg?style=flat-square)](https://travis-ci.org/runner/cli)
[![npm version](https://img.shields.io/npm/v/@runner/cli.svg?style=flat-square)](https://www.npmjs.com/package/@runner/cli)
[![dependencies status](https://img.shields.io/david/runner/cli.svg?style=flat-square)](https://david-dm.org/runner/cli)
[![devDependencies status](https://img.shields.io/david/dev/runner/cli.svg?style=flat-square)](https://david-dm.org/runner/cli?type=dev)
[![Gitter](https://img.shields.io/badge/gitter-join%20chat-blue.svg?style=flat-square)](https://gitter.im/DarkPark/runner)
[![RunKit](https://img.shields.io/badge/RunKit-try-yellow.svg?style=flat-square)](https://npm.runkit.com/@runner/cli)


## Installation ##

```bash
npm install @runner/cli
```

## Usage ##

Runner can be started by using `npm` or `npx` commands.

Run with npm:

```bash
npm run build
```

where `build` is an npm script in the `package.json` which contains a `runner` command.

Run with npx:

```bash
npx runner
```

The `runner` command format:

```bash
runner [options] [<task>]
```

Available options:

 Option       | Description
--------------|-------------
 -c, --config | Configuration file is a script which contains tasks definitions. Default value - runner.js.
 -s, --serial | Run all given tasks sequentially (instead of in parallel).

These two commands are identical:

```bash
npx runner
npx runner --config runner.js
```

To run a `webpack:build` task from a custom configuration file:

```bash
npx runner -c tasks/develop.js webpack:build 
```

Without the task name starts the default task:

```bash
npx runner -c tasks/develop.js 
```

More information about tasks manipulation is available in the [@runner/core](https://www.npmjs.com/package/@runner/core) package.


## Contribution ##

If you have any problems or suggestions please open an [issue](https://github.com/runner/cli/issues)
according to the contribution [rules](.github/contributing.md).


## License ##

`@runner/cli` is released under the [GPL-3.0 License](http://opensource.org/licenses/GPL-3.0).

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