supersendtx-cli
v0.18.0
Published
SuperSend TX CLI — send transactional email from the terminal
Maintainers
Readme
supersendtx-cli
Command-line client for SuperSend TX — send transactional email and manage domains, webhooks, templates, and more from the terminal.
npm install -g supersendtx-cliexport SUPERSENDTX_API_KEY=stx_your_key_heresupersendtx emails send \
--from [email protected] \
--to [email protected] \
--subject 'Your receipt' \
--html '<p>Thanks for your purchase.</p>'Or without a global install:
npx -y supersendtx-cli@latest emails send --from … --to … --subject … --html …When a newer version is on npm, the CLI prints one line to stderr (never stdout) saying so. It checks at most once a day. Turn it off with SUPERSENDTX_CLI_NO_UPDATE_CHECK=1 or NO_UPDATE_NOTIFIER=1; it is always off when CI is set.
Sign in from the browser
supersendtx login # prints a link and a code; approve it in the browser
supersendtx whoami
supersendtx logoutlogin saves a new API key for the workspace you approve, so there is no key to copy. In a coding agent it exits with the link; run it again after approving. SUPERSENDTX_API_KEY still works and takes precedence. Several workspaces: supersendtx workspaces list|use <name>.
Ranla's commands
supersendtx run help # every noun and its verbs
supersendtx run help campaign # fields for each verb
supersendtx run campaign list --input '{}'
supersendtx approvals list # what waits for sign-off
supersendtx approvals approve <id>
supersendtx brain # what Ranla thinks with (Included or your own model key)
pbpaste | supersendtx brain key openai # add a key from stdin; never on the command lineCommon commands
supersendtx domains list
supersendtx domains verify example.com
supersendtx webhooks list
supersendtx emails list
supersendtx affiliates create --email [email protected] --token jane
supersendtx referrals create --email [email protected] --token janeRun supersendtx --help or supersendtx <command> --help for flags.
Docs
- Quickstart: https://docs.ranla.ai/quickstart
- Domains API / CLI: https://docs.ranla.ai/domains
- Agent skills (CLI): https://docs.ranla.ai/ai/agent-skills
- Product: https://ranla.ai
License
MIT
