Small local-development CLI for testing Araute payments.
Build the local SDK and install CLI dependencies:
cd ../sdks/ts && bun install && bun run build
cd ../../cli && bun installSet an API key:
export ARAUTE_API_KEY=sk_test_...Create a test payment:
bun run dev payment create --amount 1000 --method pixConfirm it:
bun run dev payment confirm pi_... --method pixInspect its current state:
bun run dev payment get pi_...Amounts are expressed in the smallest currency unit: 1000 means R$10.00.
The CLI uses Commander for command parsing and generated help. Command definitions live under src/cli/commands, payment orchestration lives under src/application, and integration with @araute/sdk lives under src/infra.
The CLI is deliberately a thin developer tool around the SDK. It does not duplicate API resources, HTTP authentication, or webhook endpoint management.