gws-forms by googleworkspace/cli
npx skills add https://github.com/googleworkspace/cli --skill gws-forms` for auth setup and security rules
--params 和 --json 标志构建 API 调用之前,使用 gws schema 来检查方法签名、必需参数和数据类型forms.create,然后使用 forms.batchUpdate 来添加项目并配置设置SKILL.md
前提条件: 请先阅读
../gws-shared/SKILL.md以了解身份验证、全局标志和安全规则。如果该文件缺失,请运行gws generate-skills来创建它。
gws forms <resource> <method> [flags]
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
batchUpdate — 通过批量更新来更改表单。create — 使用请求中提供的表单消息里给定的标题创建一个新表单。重要提示: 只有 form.info.title 和 form.info.document_title 字段会被复制到新表单中。所有其他字段,包括表单描述、项目和设置,都是不允许的。要创建新表单并添加项目,您必须首先调用 forms.create 来创建一个仅包含标题和(可选)文档标题的空表单,然后调用 forms.update 来添加项目。get — 获取一个表单。setPublishSettings — 更新表单的发布设置。旧版表单不支持此操作,因为它们没有 publish_settings 字段。responses — 对 'responses' 资源的操作watches — 对 'watches' 资源的操作在调用任何 API 方法之前,请先检查它:
# 浏览资源和方法
gws forms --help
# 检查方法的必需参数、类型和默认值
gws schema forms.<resource>.<method>
使用 gws schema 的输出结果来构建您的 --params 和 --json 标志。
每周安装量
6.2K
代码仓库
GitHub 星标数
22.2K
首次出现
2026年3月4日
安全审计
安装于
codex5.8K
opencode5.8K
gemini-cli5.7K
cursor5.7K
github-copilot5.7K
kimi-cli5.7K
` for auth setup and security rules
gws schema to inspect method signatures, required parameters, and data types before constructing API calls with --params and --json flagsforms.create with title only, then use forms.batchUpdate to add items and configure settingsSKILL.md
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
gws forms <resource> <method> [flags]
batchUpdate — Change the form with a batch of updates.create — Create a new form using the title given in the provided form message in the request. Important: Only the form.info.title and form.info.document_title fields are copied to the new form. All other fields including the form description, items and settings are disallowed. To create a new form and add items, you must first call forms.create to create an empty form with a title and (optional) document title, and then call forms.update to add the items.get — Get a form.setPublishSettings — Updates the publish settings of a form. Legacy forms aren't supported because they don't have the publish_settings field.responses — Operations on the 'responses' resourcewatches — Operations on the 'watches' resourceBefore calling any API method, inspect it:
# Browse resources and methods
gws forms --help
# Inspect a method's required params, types, and defaults
gws schema forms.<resource>.<method>
Use gws schema output to build your --params and --json flags.
Weekly Installs
6.2K
Repository
GitHub Stars
22.2K
First Seen
Mar 4, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
codex5.8K
opencode5.8K
gemini-cli5.7K
cursor5.7K
github-copilot5.7K
kimi-cli5.7K
97,600 周安装