pd-notion-create-page

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

notion create-page / add-row

Notion 创建页面 / 添加行

PREREQUISITE: Read
../pd-notion/SKILL.md
for all commands.
bash
undefined
前提条件: 阅读
../pd-notion/SKILL.md
以获取所有命令。
bash
undefined

Page under a page

Page under a page

npx tsx resources/pd-notion.ts create-page --parent PAGE_ID --title 'New Page' [--content TEXT]
npx tsx resources/pd-notion.ts create-page --parent PAGE_ID --title 'New Page' [--content TEXT]

Row in a database

Row in a database

npx tsx resources/pd-notion.ts add-row --db DB_ID --prop 'Name:title:Task' --prop 'Status:select:Todo'

Check `db-schema` first for property names/types.

> [!CAUTION]
> **Write** commands — confirm before executing.
npx tsx resources/pd-notion.ts add-row --db DB_ID --prop 'Name:title:Task' --prop 'Status:select:Todo'

请先查看`db-schema`以了解属性名称和类型。

> [!CAUTION]
> **写入类**命令——执行前请确认。