Anthivo home

Integrationsnpm CLI

npm CLI

Run AMI from a terminal or any CI system with the anthivo package.

The anthivo CLI is the engine behind every integration. Use it directly in a terminal, in scripts, or in any CI system that runs Node.js.

Install

Add it as a dev dependency so every contributor and CI job uses the same version.

bash
npm install --save-dev anthivo

Common commands

  • anthivo init writes a starter config.
  • anthivo run starts a run against your app.
  • anthivo logs prints the run log of a past run.

See CLI Commands for every flag.

Exit codes

The CLI exits with 0 when the run passes, 1 when it finds a defect at or above failOn, and 2 when the run could not start.