prismic

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
Prismic is a headless CMS. The
prismic
CLI manages content models, repository settings, and documentation.
  1. Always run commands via
    npx prismic
    . Do not guess command syntax.
  2. Start with
    npx prismic --help
    to learn available commands. Inspect details with
    npx prismic <command> --help
    .
  3. Use
    npx prismic docs list
    to discover available documentation, and
    npx prismic docs fetch <path>
    to read it.
  4. Prefer CLI workflows over direct API/manual changes. Never directly edit model JSON files (custom types, slices, etc.) — always use the CLI to make model changes.
  5. If the CLI does not support a required operation, state that explicitly to the user and ask how they'd like to proceed.
Prismic是一款无头CMS。
prismic
CLI用于管理内容模型、仓库设置和文档。
  1. 始终通过
    npx prismic
    运行命令。请勿猜测命令语法。
  2. 先执行
    npx prismic --help
    了解可用命令。使用
    npx prismic <command> --help
    查看命令详情。
  3. 使用
    npx prismic docs list
    查看可用文档,使用
    npx prismic docs fetch <path>
    读取文档。
  4. 优先使用CLI工作流,而非直接调用API或手动修改。切勿直接编辑模型JSON文件(自定义类型、切片等)——务必使用CLI进行模型变更。
  5. 如果CLI不支持所需操作,请明确告知用户并询问其后续意愿。