googleworkspace avatar

Gws Script Push

A straightforward CLI wrapper around Google's Apps Script API that lets you manage script projects from the command line. You can create new projects, pull down existing code, push local changes, run scripts remotely, and check execution metrics without opening the web editor. The real win is the push helper that syncs your local files to Apps Script, so you can use your preferred editor and version control. Authentication setup requires some initial Google Cloud configuration, but once that's done, it's solid for automating deployments or integrating Apps Script into larger workflows.

skills.sh installs
26.7K
GitHub stars
32.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add googleworkspace/cli --skill gws-script-push --agent claude-code

Installs into .claude/skills of the current project.

Files

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 script +push --script <ID>

Flags

FlagRequiredDefaultDescription
--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

  • gws-shared — Global flags and auth
  • gws-script — All manage google apps script projects commands

Sponsors

Details

Repository
github.com/googleworkspace/cli
Categories
Automation & Workflows, CLI & Terminal, Office & Documents
First seen
Apr 16, 2026

More from googleworkspace/cli

All 113
1jackwener avataropencli-browserjackwener/opencliUse when an agent needs to drive a real Chrome window via opencli — inspect a page, fill forms, click through logged-in flows, or extract data ad-hoc. Covers th20.6Kskills.sh installs
2dontbesilent2025 avatardbs-script-flowdontbesilent2025/dbskill检查短视频逐字稿的段落衔接、信息密度和口播流畅度,定位观众可能划走的位置。用户要求检查逻辑延续、文稿顺畅度或流失风险时使用。18.9Kskills.sh installs
3langchain-ai avatardeep-agents-orchestrationlangchain-ai/langchain-skillsINVOKE THIS SKILL when using subagents, task planning, or human approval in Deep Agents. Covers SubAgentMiddleware, TodoList for planning, and HITL interrupts.16.8Kskills.sh installs
4claude-office-skills avatarexcel-automationclaude-office-skills/skills>16.1Kskills.sh installs
5parallel-web avatarparallel-deep-researchparallel-web/parallel-agent-skillsONLY use when user explicitly says 'deep research', 'exhaustive', 'comprehensive report', or 'thorough investigation'. Slower and more expensive than parallel-w16.1Kskills.sh installs
6parallel-web avatarparallel-web-searchparallel-web/parallel-agent-skillsDEFAULT for all research and web queries. Use for any lookup, research, investigation, or question needing current info. Fast and cost-effective. Only use paral14.8Kskills.sh installs