gws-tasks by googleworkspace/cli
npx skills add https://github.com/googleworkspace/cli --skill gws-tasks前提条件: 请先阅读
../gws-shared/SKILL.md以了解身份验证、全局标志和安全规则。如果该文件缺失,请运行gws generate-skills来创建它。
gws tasks <resource> <method> [flags]
delete — 删除已认证用户的指定任务列表。如果该列表包含已分配的任务,则已分配的任务和分配来源(文档、聊天空间)中的原始任务都将被删除。get — 返回已认证用户的指定任务列表。insert — 创建一个新的任务列表并将其添加到已认证用户的任务列表中。一个用户最多可以同时拥有 2000 个列表。list — 返回已认证用户的所有任务列表。一个用户最多可以同时拥有 2000 个列表。patch — 更新已认证用户的指定任务列表。此方法支持补丁语义。广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
update — 更新已认证用户的指定任务列表。clear — 从指定任务列表中清除所有已完成的任务。受影响的任务将被标记为“隐藏”,并且在默认情况下,当检索任务列表的所有任务时将不再返回它们。delete — 从任务列表中删除指定的任务。如果任务是已分配的,则已分配的任务和原始任务(在文档、聊天空间中)都将被删除。如果只想删除已分配的任务,请导航到分配来源并从那里取消分配该任务。get — 返回指定的任务。insert — 在指定的任务列表上创建一个新任务。从文档或聊天空间分配的任务不能通过 Tasks Public API 插入;它们只能通过在文档或聊天空间中分配来创建。一个用户每个列表最多可以有 20,000 个非隐藏任务,总共最多可以有 100,000 个任务。list — 返回指定任务列表中的所有任务。默认不返回已分配的任务(来自文档、聊天空间)。一个用户每个列表最多可以有 20,000 个非隐藏任务,总共最多可以有 100,000 个任务。move — 将指定任务移动到目标任务列表中的另一个位置。如果未指定目标列表,则任务将在其当前列表内移动。这可以包括将其作为子任务放在新的父任务下,和/或在其同级任务中移动到不同的位置。一个用户每个任务最多可以有 2,000 个子任务。patch — 更新指定的任务。此方法支持补丁语义。update — 更新指定的任务。在调用任何 API 方法之前,请先检查它:
# 浏览资源和方法
gws tasks --help
# 检查方法的必需参数、类型和默认值
gws schema tasks.<resource>.<method>
使用 gws schema 的输出内容来构建你的 --params 和 --json 标志。
每周安装量
6.5K
代码仓库
GitHub 星标数
22.2K
首次出现
2026年3月4日
安全审计
安装于
codex6.0K
opencode6.0K
gemini-cli6.0K
cursor6.0K
github-copilot6.0K
kimi-cli6.0K
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
gws tasks <resource> <method> [flags]
delete — Deletes the authenticated user's specified task list. If the list contains assigned tasks, both the assigned tasks and the original tasks in the assignment surface (Docs, Chat Spaces) are deleted.get — Returns the authenticated user's specified task list.insert — Creates a new task list and adds it to the authenticated user's task lists. A user can have up to 2000 lists at a time.list — Returns all the authenticated user's task lists. A user can have up to 2000 lists at a time.patch — Updates the authenticated user's specified task list. This method supports patch semantics.update — Updates the authenticated user's specified task list.clear — Clears all completed tasks from the specified task list. The affected tasks will be marked as 'hidden' and no longer be returned by default when retrieving all tasks for a task list.delete — Deletes the specified task from the task list. If the task is assigned, both the assigned task and the original task (in Docs, Chat Spaces) are deleted. To delete the assigned task only, navigate to the assignment surface and unassign the task from there.get — Returns the specified task.insert — Creates a new task on the specified task list. Tasks assigned from Docs or Chat Spaces cannot be inserted from Tasks Public API; they can only be created by assigning them from Docs or Chat Spaces. A user can have up to 20,000 non-hidden tasks per list and up to 100,000 tasks in total at a time.list — Returns all tasks in the specified task list. Doesn't return assigned tasks by default (from Docs, Chat Spaces). A user can have up to 20,000 non-hidden tasks per list and up to 100,000 tasks in total at a time.move — Moves the specified task to another position in the destination task list. If the destination list is not specified, the task is moved within its current list. This can include putting it as a child task under a new parent and/or move it to a different position among its sibling tasks. A user can have up to 2,000 subtasks per task.Before calling any API method, inspect it:
# Browse resources and methods
gws tasks --help
# Inspect a method's required params, types, and defaults
gws schema tasks.<resource>.<method>
Use gws schema output to build your --params and --json flags.
Weekly Installs
6.5K
Repository
GitHub Stars
22.2K
First Seen
Mar 4, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex6.0K
opencode6.0K
gemini-cli6.0K
cursor6.0K
github-copilot6.0K
kimi-cli6.0K
97,600 周安装
patch — Updates the specified task. This method supports patch semantics.update — Updates the specified task.