Apps Script
Use gog for Apps Script operations. Read ../gog/SKILL.md first for shared auth,
output, safety, and live-write rules.
Safe start
gog auth list --check --json --no-input
gog schema appscript --json
gog --readonly --account user@example.com appscript --help
- Select the account explicitly with
--account. - Use
--json --wrap-untrustedfor agent-readable Google content. - Use
--readonlywhen the task must not mutate Google data. - Use
--no-inputin automation and--dry-runbefore supported writes. - Confirm the exact account, object, and mutation before any write or delete.
Commands
| Command | Purpose |
|---|---|
content |
Get Apps Script project content |
create |
Create an Apps Script project |
deployments |
List deployments |
get |
Get Apps Script project metadata |
pull |
Pull an Apps Script project into a local directory |
run |
Run a deployed Apps Script function |
versions |
List versions |
Run gog appscript <command> --help for flags and gog schema appscript <command> --json
for the machine-readable contract. Do not guess command syntax.