
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 googleworkspace/cli --skill "gws-script-push" --full-depthRun 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 โ