recipe-create-task-list
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCreate a Task List and Add Tasks
创建任务列表并添加任务
PREREQUISITE: Load the following skills to execute this recipe:gws-tasks
Set up a new Google Tasks list with initial tasks.
前提条件: 加载以下技能以执行此操作:gws-tasks
创建一个包含初始任务的新Google Tasks列表。
Steps
步骤
- Create task list:
gws tasks tasklists insert --json '{"title": "Q2 Goals"}' - Add a task:
gws tasks tasks insert --params '{"tasklist": "TASKLIST_ID"}' --json '{"title": "Review Q1 metrics", "notes": "Pull data from analytics dashboard", "due": "2024-04-01T00:00:00Z"}' - Add another task:
gws tasks tasks insert --params '{"tasklist": "TASKLIST_ID"}' --json '{"title": "Draft Q2 OKRs"}' - List tasks:
gws tasks tasks list --params '{"tasklist": "TASKLIST_ID"}' --format table
- 创建任务列表:
gws tasks tasklists insert --json '{"title": "Q2 Goals"}' - 添加任务:
gws tasks tasks insert --params '{"tasklist": "TASKLIST_ID"}' --json '{"title": "Review Q1 metrics", "notes": "Pull data from analytics dashboard", "due": "2024-04-01T00:00:00Z"}' - 添加另一个任务:
gws tasks tasks insert --params '{"tasklist": "TASKLIST_ID"}' --json '{"title": "Draft Q2 OKRs"}' - 列出任务:
gws tasks tasks list --params '{"tasklist": "TASKLIST_ID"}' --format table