gws-script-push
Installation
SKILL.md
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
Usage
gws 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
- gws-shared — Global flags and auth
- gws-script — All manage google apps script projects commands
Related skills
More from googleworkspace/cli
gws-gmail
Gmail: Send, read, and manage email.
25.7Kgws-docs
Read and write Google Docs.
25.6Kgws-drive
Google Drive: Manage files, folders, and shared drives.
25.5Kgws-sheets
Google Sheets: Read and write spreadsheets.
24.2Kgws-calendar
Google Calendar: Manage calendars and events.
24.2Kgws-docs-write
Google Docs: Append text to a document.
21.4K