Files
googleworkspace--cli/skills/gws-script/SKILL.md
T
wehub-resource-sync 76a9e7a0cc
Publish OpenClaw Skills / publish (push) Has been cancelled
Audit / Security Audit (push) Has been cancelled
Automation / Gemini Review (push) Has been cancelled
CI / Detect Changes (push) Has been cancelled
CI / Test (macos-latest) (push) Has been cancelled
CI / Test (ubuntu-latest) (push) Has been cancelled
CI / Nix (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Cargo Deny (push) Has been cancelled
CI / Verify Skills (push) Has been cancelled
CI / Lint Skills (push) Has been cancelled
CI / Build (Linux x86_64) (push) Has been cancelled
CI / Build (macos-latest, aarch64-apple-darwin) (push) Has been cancelled
CI / Build (macos-latest, x86_64-apple-darwin) (push) Has been cancelled
CI / Build (ubuntu-latest, aarch64-unknown-linux-gnu) (push) Has been cancelled
CI / Build (windows-latest, x86_64-pc-windows-msvc) (push) Has been cancelled
CI / API Smoketest (push) Has been cancelled
Policy / Policy Check (push) Has been cancelled
Release (Changeset) / Release (push) Has been cancelled
Automation / Gemini Reviewed (push) Has been cancelled
Coverage / Coverage (push) Has been cancelled
Automation / Format (push) Has been cancelled
Automation / File Labeler (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:38:06 +08:00

63 lines
2.0 KiB
Markdown

---
name: gws-script
description: "Manage Google Apps Script projects."
metadata:
version: 0.22.5
openclaw:
category: "productivity"
requires:
bins:
- gws
cliHelp: "gws script --help"
---
# script (v1)
> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.
```bash
gws script <resource> <method> [flags]
```
## Helper Commands
| Command | Description |
|---------|-------------|
| [`+push`](../gws-script-push/SKILL.md) | Upload local files to an Apps Script project |
## API Resources
### processes
- `list` — List information about processes made by or on behalf of a user, such as process type and current status.
- `listScriptProcesses` — List information about a script's executed processes, such as process type and current status.
### projects
- `create` — Creates a new, empty script project with no script files and a base manifest file.
- `get` — Gets a script project's metadata.
- `getContent` — Gets the content of the script project, including the code source and metadata for each script file.
- `getMetrics` — Get metrics data for scripts, such as number of executions and active users.
- `updateContent` — Updates the content of the specified script project. This content is stored as the HEAD version, and is used when the script is executed as a trigger, in the script editor, in add-on preview mode, or as a web app or Apps Script API in development mode. This clears all the existing files in the project.
- `deployments` — Operations on the 'deployments' resource
- `versions` — Operations on the 'versions' resource
### scripts
- `run`
## Discovering Commands
Before calling any API method, inspect it:
```bash
# Browse resources and methods
gws script --help
# Inspect a method's required params, types, and defaults
gws schema script.<resource>.<method>
```
Use `gws schema` output to build your `--params` and `--json` flags.