googleworkspace/cli

recipe-create-task-list

Set up a new Google Tasks list with initial tasks.

查看源码
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

Create 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.

Steps

  1. Create task list: gws tasks tasklists insert --json '{"title": "Q2 Goals"}'
  2. 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"}'
  3. Add another task: gws tasks tasks insert --params '{"tasklist": "TASKLIST_ID"}' --json '{"title": "Draft Q2 OKRs"}'
  4. List tasks: gws tasks tasks list --params '{"tasklist": "TASKLIST_ID"}' --format table
来自同一仓库

更多 Skills

全部 Skills