armada — command-line client for the Armada Automated Ordering API v2.
From npm (once published):
npm i -g @armada/cliDirectly from GitHub — no registry needed:
# latest main
npm i -g github:armadadelivery/armada-cli
# pinned
npm i -g github:armadadelivery/armada-cli#v0.1.0-beta.0Or run it ad-hoc with npx without installing:
npx github:armadadelivery/armada-cli walletBoth git and npx paths work because the CLI has a prepare script that
compiles TypeScript on install. The @armada/sdk dependency is pulled
from GitHub transitively, so you don't need npm access to anything.
armada config set # prompts for apiKey + apiSecret
armada wallet # GET /v2/wallet
armada invoices list
armada deliveries create --from-file order.json
armada deliveries retry 66a...Stored at ~/.armada/config.json (mode 600) after armada config set. Env vars ARMADA_API_KEY, ARMADA_API_SECRET, ARMADA_API_BASE take precedence.
Default base URL is production — https://api.armadadelivery.com. Create a v2 API key with Test mode ON in the business app to simulate deliveries end-to-end (bot driver, ~30 s lifecycle, no real dispatch, no wallet charge). Toggle Test mode off on the same key when you're ready to go live.
Override to the isolated sandbox environment with --api-base https://sandbox.api.armadadelivery.com or set ARMADA_API_BASE. For most integrations you do not need to.
All commands default to pretty JSON on stdout with a rate-limit line on stderr. Add --json to drop the stderr line (useful in pipes).