Zindua
Back to blog
CLIJuly 05, 20267 min read

Build a reliable debug workflow with @zindua/cli

Use doctor, project, send, and templates commands to validate environment and delivery before touching production traffic.

Build a reliable debug workflow with @zindua/cli

Why terminal checks save release time

Most integration failures happen at the edges: wrong key, stale template slug, channel not connected, or environment mismatch.

The CLI gives immediate and scriptable checks so you can confirm system health before app-level debugging.

Recommended command sequence

Start with doctor to validate auth and connectivity, then inspect project metadata and template inventory, and finally trigger a controlled test send.

npx @zindua/cli@latest doctor
npx @zindua/cli@latest project
npx @zindua/cli@latest templates list

Use in CI and pre-deploy gates

Run read-only checks in CI for release branches. This catches broken secrets and missing templates before deployment.

A stable CLI gate reduces rollback pressure and keeps delivery confidence high during launch windows.

Quick start from this article

Install and run doctor

Fastest way to validate your API setup.

npx @zindua/cli@latest doctor

Open CLI docs

See all commands and JSON output options.

Open guide

Test send in staging

Send one OTP before production release.

npx @zindua/cli@latest send --to user@example.com --template otp-verification --channel email

Related articles