---
name: gws-script-push
description: "Google Apps Script: Upload local files to an Apps Script project."
license: "Apache-2.0"
metadata:
  decimalai-skill-id: "4a54b394-41d4-4b5e-93a8-f118f64bc45a"
  decimalai-version-id: "beb7234a-7944-4e00-a1ed-836a4ffda103"
  decimalai-version: "1"
  decimalai-body-sha256: "f62aef328e10d939bac6ca7675c7536e5d9d7b16c1f868158bb96f7e1cdbfa64"
  decimalai-name: "gws-script-push"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "devops"
  decimalai-source: "https://app.decimal.ai/s/gws-script-push@1/SKILL.md"
---
# 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

```bash
gws script +push --script <ID>
```

## Flags

| Flag | Required | Default | Description |
|------|----------|---------|-------------|
| `--script` | ✓ | — | Script Project ID |
| `--dir` | — | — | Directory containing script files (defaults to current dir) |

## Examples

```bash
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](../gws-shared/SKILL.md) — Global flags and auth
- [gws-script](../gws-script/SKILL.md) — All manage google apps script projects commands
