@migma/cli
v1.1.4
Published
Official CLI for the Migma email platform — generate, validate, send, and export emails from your terminal
Downloads
285
Maintainers
Readme
Migma CLI
Official CLI for Migma.
Install
curl -fsSL https://install.migma.ai/cli | shInstall CLI and skills together:
curl -fsSL https://install.migma.ai/setup | shnpm
npm install -g @migma/cliCommands
Generate, send, validate, and export emails, and manage contacts, segments, tags, domains, campaigns, and webhooks.
# Send an email (use --idempotency-key for safe retries)
migma send --to [email protected] --email <emailId> \
--subject "Welcome!" --from [email protected] --from-name "Your Brand" \
--idempotency-key send-<emailId>-sarah
# Campaigns: create, send, schedule, then check stats and per-recipient logs
migma campaigns send <campaignId> --idempotency-key campaign-send-<campaignId>
migma campaigns stats <campaignId>
migma campaigns logs <campaignId> --status bounced --limit 50Write commands (send, campaigns create/send/schedule, contacts add) accept --idempotency-key <key>: the same key with the same body within 24 hours replays the original response instead of running twice. Add --json to any command for machine-readable output.
See the CLI reference for the full command list.
