
gws-script-push
✓ Official★ 29,425by googleworkspace · part of googleworkspace/cli
Google Apps Script: Upload local files to an Apps Script project.
This is the playbook your agent receives when the skill activates — you don't need to read it to use the skill, but it's here to audit before installing.
script +push
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
Upload local files to an Apps Script project
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 ./srcTips
- 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
npx skills add https://github.com/googleworkspace/cli --skill gws-script-pushRun this in your project — your agent picks the skill up automatically.
Usage
gws script +push --script <ID>No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.
Licensed under Apache-2.0— you can use, modify, and redistribute it under that license's terms.
View the full license file on GitHub →