cio
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCustomer.io (cio
)
cioCustomer.io(cio
)
cioRun first. It dumps the full LLM-ready reference -- commands,
flags, schemas, pagination, error shapes -- so you don't have to guess or
spelunk through .
cio prime--helpIf is not installed, run . After installing,
run . If installation fails, fetch the README for other install
options:
cionpm i -g @customerio/clicio primebash
curl -fsSL https://raw.githubusercontent.com/customerio/cli/main/README.mdEverything below handles setup cases you might hit.
首先运行命令。该命令会导出完整的LLM就绪参考文档——包括命令、标志、schema、分页规则、错误格式——这样你就无需猜测或反复查看信息。
cio prime--help如果尚未安装,请运行。安装完成后,运行。若安装失败,可通过以下命令获取README文档以了解其他安装选项:
cionpm i -g @customerio/clicio primebash
curl -fsSL https://raw.githubusercontent.com/customerio/cli/main/README.md以下内容涵盖了你可能遇到的各类设置场景。
If the user wants to get started with Customer.io
若用户想要开始使用Customer.io
Follow onboarding.md when the intent is about
starting, building, trying, or setting up Customer.io — even if they
have a project open. Account creation, authentication, domain setup,
and sending a first email all live here. If the user isn't
authenticated yet, onboarding is almost certainly the right path.
Examples: "I want to build with Customer.io", "help me set up
Customer.io", "I want to try Customer.io", "set up a new account",
"send my first email".
当用户意图为开始使用、基于其开发、试用或设置Customer.io时,请遵循onboarding.md中的指引——即使用户已打开某个项目也适用。账户创建、身份验证、域名设置以及发送第一封邮件等操作均在此文档中说明。如果用户尚未完成身份验证,那么新用户引导几乎肯定是正确的路径。
示例场景:“我想基于Customer.io进行开发”、“帮我设置Customer.io”、“我想试用Customer.io”、“创建新账户”、“发送我的第一封邮件”。
If the user asks about plans, pricing, billing, or going live
若用户询问套餐、定价、账单或上线相关问题
Follow billing.md when the user asks what plan they are on,
whether they need to pay, how to launch, how to unlock external sends, or
anything about billing, subscriptions, credits, invoices, receipts,
payment methods, or plan limits. This includes billing questions that come up
during onboarding.
Examples: "do I need to purchase a plan to go live?", "what does my plan
include?", "how much does this cost?", "can I send to real customers?",
"upgrade my plan", "buy credits", "what plan am I on?".
当用户询问当前套餐类型、是否需要付费、如何上线、如何解锁外部发送权限,或任何与账单、订阅、信用额度、发票、收据、支付方式、套餐限制相关的问题时,请遵循billing.md中的指引。这包括新用户引导过程中出现的账单相关问题。
示例场景:“我需要购买套餐才能上线吗?”、“我的套餐包含哪些内容?”、“这个费用是多少?”、“我可以向真实用户发送消息吗?”、“升级我的套餐”、“购买信用额度”、“我当前使用的是什么套餐?”。
If the user wants to integrate Customer.io into their app
若用户想要将Customer.io集成到自己的应用中
Follow integration.md when the user wants to add,
integrate, install, wire, hook up, or connect Customer.io to an existing
app or codebase. This covers SDK install, identify/track instrumentation,
in-app messaging, push notifications, and transactional sends from app
code. The signal is "I have a project open and want Customer.io in it" —
the user does not need to name an SDK.
Examples: "add Customer.io to my app", "integrate Customer.io", "wire
Customer.io into this project", "install the Customer.io SDK", "send
transactional emails from my app", "track events from my backend",
"hook up identify calls".
当用户想要将Customer.io添加、集成、安装、接入或连接到现有应用或代码库时,请遵循integration.md中的指引。这涵盖SDK安装、识别/追踪事件埋点、应用内消息推送、推送通知以及从应用代码发送事务性消息等操作。判断信号为“我已打开一个项目,想在其中接入Customer.io”——用户无需明确提及SDK。
示例场景:“将Customer.io添加到我的应用中”、“集成Customer.io”、“将Customer.io接入这个项目”、“安装Customer.io SDK”、“从我的应用发送事务性邮件”、“从后端追踪事件”、“接入识别调用”。
If a command fails with an auth error
若命令因身份验证错误失败
cio auth login- User runs it themselves (keeps the token out of chat):
cio auth login - You run it — only if they explicitly paste the token. Pipe via
stdin so it doesn't hit shell history:
echo "$TOKEN" | cio auth login --with-token
Service account tokens () are at Customer.io UI → Account
Settings → Manage API Credentials → Service Accounts.
sa_live_...cio auth login- 用户自行运行(避免令牌进入聊天记录):
cio auth login - 协助用户运行 —— 仅当用户明确粘贴令牌时执行。通过标准输入传递令牌,避免其进入Shell历史:
echo "$TOKEN" | cio auth login --with-token
服务账户令牌()可在Customer.io UI → 账户设置 → 管理API凭据 → 服务账户中获取。
sa_live_...