recipe-create-doc-from-template
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCreate a Google Doc from a Template
从模板创建Google Doc
PREREQUISITE: Load the following skills to execute this recipe:,gws-drivegws-docs
Copy a Google Docs template, fill in content, and share with collaborators.
前提条件: 加载以下技能以执行此方案:、gws-drivegws-docs
复制Google Docs模板、填充内容并与协作者共享。
Steps
步骤
- Copy the template:
gws drive files copy --params '{"fileId": "TEMPLATE_DOC_ID"}' --json '{"name": "Project Brief - Q2 Launch"}' - Get the new doc ID from the response
- Add content: `gws docs +write --document-id NEW_DOC_ID --text '## Project: Q2 Launch
- 复制模板:
gws drive files copy --params '{"fileId": "TEMPLATE_DOC_ID"}' --json '{"name": "Project Brief - Q2 Launch"}' - 从响应中获取新的文档ID
- 添加内容:`gws docs +write --document-id NEW_DOC_ID --text '## Project: Q2 Launch
Objective
Objective
Launch the new feature by end of Q2.'gws drive permissions create --params '{"fileId": "NEW_DOC_ID"}' --json '{"role": "writer", "type": "user", "emailAddress": "team@company.com"}'`
4. Share with team:Launch the new feature by end of Q2.'gws drive permissions create --params '{"fileId": "NEW_DOC_ID"}' --json '{"role": "writer", "type": "user", "emailAddress": "team@company.com"}'`
4. 与团队共享: