# @doctolib/argos-cli

> Argos command line interface.

Latest version **0.1.3** (published 2018-06-14) · MIT license · 0 weekly downloads

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

## Install

```sh
npm install @doctolib/argos-cli
pnpm add @doctolib/argos-cli
yarn add @doctolib/argos-cli
bun add @doctolib/argos-cli
```

Provides the command `argos`.

## Health

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

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2018-06-14 |
| First published | 2018-03-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 10 |
| Unpacked size | 22.6 KB |
| Known vulnerabilities | 0 (+6 in 2 direct dependencies) |
| Install scripts | no |
| Maintainers | matthieuprat, rpellerin, techdoctolib |
| Keywords | visual-regression, diff-ui, compare-screenshots, review-process, continuous-integration |

## Links

- npm: https://www.npmjs.com/package/@doctolib/argos-cli
- Repository: https://github.com/doctolib/argos-cli
- Issues: https://github.com/doctolib/argos-cli/issues
- npm.io page: https://npm.io/package/@doctolib/argos-cli

## Dependencies (10)

- [mz](https://npm.io/package/mz.md) ^2.6.0
- [glob](https://npm.io/package/glob.md) ^7.1.2
- [chalk](https://npm.io/package/chalk.md) ^1.1.3
- [raven](https://npm.io/package/raven.md) ^2.0.2
- [convict](https://npm.io/package/convict.md) ^4.3.0
- [commander](https://npm.io/package/commander.md) ^2.9.0
- [form-data](https://npm.io/package/form-data.md) ^2.1.4
- [node-fetch](https://npm.io/package/node-fetch.md) ^1.7.0
- [glob-promise](https://npm.io/package/glob-promise.md) ^3.1.0
- [update-notifier](https://npm.io/package/update-notifier.md) ^2.1.0

## Recent versions

- 0.1.3 (latest) — 2018-06-14
- 0.1.2 — 2018-03-25
- 0.1.1 — 2018-03-25
- 0.1.0 — 2018-03-24

## README

# argos-cli

> Argos command line interface.

## Usage

```sh
Usage: argos [options] [command]


Commands:

  upload [options] <directory>  Upload screenshots

Options:

  -h, --help     output usage information
  -V, --version  output the version number
```

### Upload

```sh
Usage: upload [options] <directory>

Upload screenshots

Options:

  -h, --help             output usage information
  -C, --commit <commit>  Git commit
  -B, --branch <branch>  Git branch
  -T, --token <token>    Repository token
  --buildId [string]     (Optional) Build ID
  --batchId [string]     (Optional) Batch ID
  --batchTotal [int]     (Optional) Total number of batches
  --ignore <list>        List of glob files to ignore (ex: "**/*.png,**/diff.jpg")
```

The `buildId`, `batchId` and `batchTotal` options make it possible to perform screenshot
uploads in several batches for a single build.

This is especially useful when screenshots come from different machines:

```
argos upload --buildId 123 --batchId 0 --batchTotal 2 path/to/screenshots # On machine A
argos upload --buildId 123 --batchId 1 --batchTotal 2 path/to/screenshots # On machine B
```

Argos will assume that all screenshots have been uploaded once the number of uploaded batches equals
the number of batches given by the `batchTotal` option.

## License

MIT

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