gws-apps-script by googleworkspace/cli
npx skills add https://github.com/googleworkspace/cli --skill gws-apps-script前提条件: 阅读
../gws-shared/SKILL.md了解认证、全局标志和安全规则。如果文件缺失,请运行gws generate-skills来创建它。
gws apps-script <resource> <method> [flags]
| 命令 | 描述 |
|---|---|
+push | 将本地文件上传到 Apps Script 项目 |
list — 列出由用户或代表用户执行的进程信息,例如进程类型和当前状态。广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
listScriptProcesses — 列出脚本已执行进程的信息,例如进程类型和当前状态。create — 创建一个新的、空的脚本项目,不包含脚本文件,仅包含一个基础清单文件。get — 获取脚本项目的元数据。getContent — 获取脚本项目的内容,包括每个脚本文件的代码源和元数据。getMetrics — 获取脚本的指标数据,例如执行次数和活跃用户数。updateContent — 更新指定脚本项目的内容。此内容存储为 HEAD 版本,并在脚本作为触发器执行、在脚本编辑器中、在加载项预览模式下,或作为开发模式下的 Web 应用程序或 Apps Script API 时使用。这会清除项目中所有现有文件。deployments — 对 'deployments' 资源的操作versions — 对 'versions' 资源的操作run —在调用任何 API 方法之前,请先检查它:
# 浏览资源和方法
gws apps-script --help
# 检查方法的必需参数、类型和默认值
gws schema apps-script.<resource>.<method>
使用 gws schema 的输出内容来构建你的 --params 和 --json 标志。
每周安装次数
629
代码仓库
GitHub 星标数
22.6K
首次出现
2026年3月4日
安全审计
已安装于
opencode614
codex613
gemini-cli610
github-copilot610
cursor610
kimi-cli609
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
gws apps-script <resource> <method> [flags]
| Command | Description |
|---|---|
+push | Upload local files to an Apps Script project |
list — List information about processes made by or on behalf of a user, such as process type and current status.listScriptProcesses — List information about a script's executed processes, such as process type and current status.create — Creates a new, empty script project with no script files and a base manifest file.get — Gets a script project's metadata.getContent — Gets the content of the script project, including the code source and metadata for each script file.getMetrics — Get metrics data for scripts, such as number of executions and active users.updateContent — Updates the content of the specified script project. This content is stored as the HEAD version, and is used when the script is executed as a trigger, in the script editor, in add-on preview mode, or as a web app or Apps Script API in development mode. This clears all the existing files in the project.deployments — Operations on the 'deployments' resourceversions — Operations on the 'versions' resourcerun —Before calling any API method, inspect it:
# Browse resources and methods
gws apps-script --help
# Inspect a method's required params, types, and defaults
gws schema apps-script.<resource>.<method>
Use gws schema output to build your --params and --json flags.
Weekly Installs
629
Repository
GitHub Stars
22.6K
First Seen
Mar 4, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode614
codex613
gemini-cli610
github-copilot610
cursor610
kimi-cli609