gws-script-push
Agent skill fromgoogleworkspace/cli
Google Apps Script: Upload local files to an Apps Script project.
How to install gws-script-push
install gws-script-push
# install the cli pack with the skills CLI
npx skills add googleworkspace/cli# or add only this skill to Claude Code: copy the folder
skills/gws-script-push/
# into
~/.claude/skills/gws-script-push/ (all projects)
.claude/skills/gws-script-push/ (one project)
1# script +push23> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.45Upload local files to an Apps Script project67## Usage89```bash10gws script +push --script <ID>11```1213## Flags1415| Flag | Required | Default | Description |16|------|----------|---------|-------------|17| `--script` | ✓ | — | Script Project ID |18| `--dir` | — | — | Directory containing script files (defaults to current dir) |1920## Examples2122```bash23gws script +push --script SCRIPT_ID24gws script +push --script SCRIPT_ID --dir ./src25```2627## Tips2829- Supports .gs, .js, .html, and appsscript.json files.30- Skips hidden files and node_modules automatically.31- This replaces ALL files in the project.3233> [!CAUTION]34> This is a **write** command — confirm with the user before executing.3536## See Also3738- [gws-shared](../gws-shared/SKILL.md) — Global flags and auth39- [gws-script](../gws-script/SKILL.md) — All manage google apps script projects commands
Excerpt shown under the repository's Apache-2.0 license.
