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.
npm install --save-dev anthivoCommon commands
anthivo initwrites a starter config.anthivo runstarts a run against your app.anthivo logsprints 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.