360 Secure SkillHub
360 安全技能中心

Gws Apps Script Push

该 Skill 说明 gws apps-script +push 命令的用法:把本地目录中的 .gs、.js、.html 及 appsscript.json 文件上传到指定 Apps Script 项目,支持 --script 指定项目 ID、--dir 指定目录,自动跳过隐藏文件与 node_modules;执行属写操作,需用户确认,认证与全局参数依赖 gws-shared。

googleworkspace-bot
googleworkspace-bot
热度 65.07
最近更新 2026-05-11 17:28:41
分类:开发依赖:第三方 API / 读写文件应用场景:DevOps / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add gws-apps-script-push
Metadata
name
gws-apps-script-push
version
1.0.0
description
Google Apps Script: Upload local files to an Apps Script project.
metadata
{"openclaw":{"category":"productivity","requires":{"bins":["gws"]},"cliHelp":"gws apps-script +push --help"}}

apps-script +push

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

Upload local files to an Apps Script project

Usage

gws apps-script +push --script <ID>

Flags

Flag Required Default Description
--script ✓ — Script Project ID
--dir — — Directory containing script files (defaults to current dir)

Examples

gws script +push --script SCRIPT_ID
gws script +push --script SCRIPT_ID --dir ./src

Tips

  • Supports .gs, .js, .html, and appsscript.json files.
  • Skips hidden files and node_modules automatically.
  • This replaces ALL files in the project.

[!CAUTION] This is a write command — confirm with the user before executing.

See Also