CLI

Analyze builds from your terminal and pipe structured results into any workflow.

Install

npm i -g @appmd/cli
# or
brew install appmd

Authenticate

appmd login
# or set a key non-interactively
export APPMD_API_KEY=sk_live_...

Analyze

appmd analyze ./app-release.apk --json > report.json

Use it in CI

Fail a build when the security grade drops below a threshold, or diff against the previous release:

appmd analyze ./app-release.apk \
  --fail-under B \
  --diff last

Common flags

  • --json: emit machine-readable output.
  • --fail-under <grade>: non-zero exit below a grade.
  • --diff <ref>: compare against a prior analysis.
  • --watch: stream progress as it runs.

For programmatic access beyond the CLI, see the API reference.