You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 322695f
Browse filesBrowse the repository at this point in the historyBrowse files
Adds Google Sheets table list/get/create/delete commands, local table column type validation, generated command docs, and a dedicated Sheets tables docs page.\n\nCo-authored-by: Pedro Henrique Gomes Venturott <27008096+Pedrohgv@users.noreply.github.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@
8
8
- Raw API dumps: add `docs raw`, `sheets raw`, `slides raw`, `drive raw`, `gmail raw`, `calendar raw`, `people raw`, `contacts raw`, `tasks raw`, and `forms raw` subcommands for lossless Google API JSON output, with `--pretty`, Drive raw redaction defaults, Sheets grid-data warnings, and a raw-output security audit. (#495, #496) — thanks @karbassi.
9
9
- Docs: add `docs format` and plain-text `docs write` formatting flags for fonts, colors, bold/italic/underline/strikethrough, alignment, and line spacing. (#479) — thanks @mmaghsoodnia.
10
10
- Drive: add `--fields` to `drive ls` and `drive get` so callers can pass Drive API field masks for fields beyond the default JSON set. (#495) — thanks @karbassi.
11
+
- Sheets: add `sheets table` list/get/create/delete commands for Google Sheets structured tables. (#470) — thanks @Pedrohgv.
11
12
- Agent safety: add baked safety-profile builds for fail-closed agent binaries, with `agent-safe`, `readonly`, and `full` profiles, filtered help/schema output, docs, and build tooling. (#366, #239) — thanks @drewburchfield.
12
13
- Calendar: add `--with-meet` to `calendar update` for adding Google Meet conferencing to existing events. (#538) — thanks @alexisperumal.
13
14
- Calendar: add `calendar move` / `calendar transfer` to move an event to another calendar and change its organizer. (#448) — thanks @markusbkoch.
Copy file name to clipboardExpand all lines: README.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ Fast, script-friendly CLI for Gmail, Calendar, Chat, Classroom, Drive, Docs, Sli
16
16
-**Drive** - list/search/upload/download files, scope search to folders or shared drives, replace uploads in-place, convert uploads (including Markdown to Google Doc), manage permissions/comments, organize folders, and list shared drives
17
17
-**Contacts** - search/create/update contacts, including addresses, relations, org/title metadata, custom fields, Workspace directory, and other contacts
18
18
-**Tasks** - manage tasklists and tasks: get/create/add/update/done/undo/delete/clear, plus repeat schedule materialization with RRULE aliases
19
-
-**Sheets** - read/write/update spreadsheets, insert rows/cols, manage tabs and named ranges, format/merge/freeze/resize cells, read/write notes, inspect formats, find/replace text, list links, and create/export sheets
19
+
-**Sheets** - read/write/update spreadsheets, insert rows/cols, manage tabs, named ranges, and Sheets tables, format/merge/freeze/resize cells, read/write notes, inspect formats, find/replace text, list links, and create/export sheets
-**Apps Script** - create/get/bind projects, inspect content, and run functions
22
22
-**Docs/Slides** - create/copy/export docs/slides, edit Docs by tab title or ID, import Markdown, do richer find-replace, export whole Docs or a single Docs tab, and generate Slides from Markdown or templates
Copy file name to clipboardExpand all lines: docs/commands.generated.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -414,6 +414,11 @@ Generated from `gog schema --json`.
414
414
-[`gog sheets (sheet) rename-tab (rename-sheet) <spreadsheetId> <oldName> <newName>`](commands/gog-sheets-rename-tab.md) - Rename a tab/sheet in a spreadsheet
Copy file name to clipboardExpand all lines: docs/commands/README.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
Every `gog` command has a generated docs page. The source of truth is the live CLI schema; run `make docs-commands` after changing command names, flags, help text, aliases, or arguments.
4
4
5
-
Generated pages: 451.
5
+
Generated pages: 456.
6
6
7
7
## Top-level Commands
8
8
@@ -457,6 +457,11 @@ Generated pages: 451.
457
457
-[gog sheets rename-tab](gog-sheets-rename-tab.md) - Rename a tab/sheet in a spreadsheet
|`--access-token`|`string`|| Use provided access token directly (bypasses stored refresh tokens; token expires in ~1h) |
22
+
|`-a`<br>`--account`<br>`--acct`|`string`|| Account email for API commands (gmail/calendar/chat/classroom/drive/docs/slides/contacts/tasks/people/sheets/forms/appscript/ads) |
|`-h`<br>`--help`|`kong.helpFlag`|| Show context-sensitive help. |
32
+
|`-j`<br>`--json`<br>`--machine`|`bool`| false | Output JSON to stdout (best for scripting) |
33
+
|`--name`|`string`|| Table name |
34
+
|`--no-input`<br>`--non-interactive`<br>`--noninteractive`|`bool`|| Never prompt; fail instead (useful for CI) |
35
+
|`-p`<br>`--plain`<br>`--tsv`|`bool`| false | Output stable, parseable text to stdout (TSV; no colors) |
36
+
|`--results-only`|`bool`|| In JSON mode, emit only the primary result (drops envelope fields like nextPageToken) |
37
+
|`--select`<br>`--pick`<br>`--project`|`string`|| In JSON mode, select comma-separated fields (best-effort; supports dot paths). Desire path: use --fields for most commands. |
|`--access-token`|`string`|| Use provided access token directly (bypasses stored refresh tokens; token expires in ~1h) |
22
+
|`-a`<br>`--account`<br>`--acct`|`string`|| Account email for API commands (gmail/calendar/chat/classroom/drive/docs/slides/contacts/tasks/people/sheets/forms/appscript/ads) |
|`-h`<br>`--help`|`kong.helpFlag`|| Show context-sensitive help. |
31
+
|`-j`<br>`--json`<br>`--machine`|`bool`| false | Output JSON to stdout (best for scripting) |
32
+
|`--no-input`<br>`--non-interactive`<br>`--noninteractive`|`bool`|| Never prompt; fail instead (useful for CI) |
33
+
|`-p`<br>`--plain`<br>`--tsv`|`bool`| false | Output stable, parseable text to stdout (TSV; no colors) |
34
+
|`--results-only`|`bool`|| In JSON mode, emit only the primary result (drops envelope fields like nextPageToken) |
35
+
|`--select`<br>`--pick`<br>`--project`|`string`|| In JSON mode, select comma-separated fields (best-effort; supports dot paths). Desire path: use --fields for most commands. |
> Generated from `gog schema --json`. Do not edit this page by hand; run `make docs-commands`.
4
+
5
+
Get a table
6
+
7
+
## Usage
8
+
9
+
```bash
10
+
gog sheets (sheet) table (tables) get (show,info) <spreadsheetId><tableId>
11
+
```
12
+
13
+
## Parent
14
+
15
+
-[gog sheets table](gog-sheets-table.md)
16
+
17
+
## Flags
18
+
19
+
| Flag | Type | Default | Help |
20
+
| --- | --- | --- | --- |
21
+
|`--access-token`|`string`|| Use provided access token directly (bypasses stored refresh tokens; token expires in ~1h) |
22
+
|`-a`<br>`--account`<br>`--acct`|`string`|| Account email for API commands (gmail/calendar/chat/classroom/drive/docs/slides/contacts/tasks/people/sheets/forms/appscript/ads) |
|`-h`<br>`--help`|`kong.helpFlag`|| Show context-sensitive help. |
31
+
|`-j`<br>`--json`<br>`--machine`|`bool`| false | Output JSON to stdout (best for scripting) |
32
+
|`--no-input`<br>`--non-interactive`<br>`--noninteractive`|`bool`|| Never prompt; fail instead (useful for CI) |
33
+
|`-p`<br>`--plain`<br>`--tsv`|`bool`| false | Output stable, parseable text to stdout (TSV; no colors) |
34
+
|`--results-only`|`bool`|| In JSON mode, emit only the primary result (drops envelope fields like nextPageToken) |
35
+
|`--select`<br>`--pick`<br>`--project`|`string`|| In JSON mode, select comma-separated fields (best-effort; supports dot paths). Desire path: use --fields for most commands. |
> Generated from `gog schema --json`. Do not edit this page by hand; run `make docs-commands`.
4
+
5
+
List tables in a spreadsheet
6
+
7
+
## Usage
8
+
9
+
```bash
10
+
gog sheets (sheet) table (tables) list <spreadsheetId>
11
+
```
12
+
13
+
## Parent
14
+
15
+
-[gog sheets table](gog-sheets-table.md)
16
+
17
+
## Flags
18
+
19
+
| Flag | Type | Default | Help |
20
+
| --- | --- | --- | --- |
21
+
|`--access-token`|`string`|| Use provided access token directly (bypasses stored refresh tokens; token expires in ~1h) |
22
+
|`-a`<br>`--account`<br>`--acct`|`string`|| Account email for API commands (gmail/calendar/chat/classroom/drive/docs/slides/contacts/tasks/people/sheets/forms/appscript/ads) |
|`-h`<br>`--help`|`kong.helpFlag`|| Show context-sensitive help. |
31
+
|`-j`<br>`--json`<br>`--machine`|`bool`| false | Output JSON to stdout (best for scripting) |
32
+
|`--no-input`<br>`--non-interactive`<br>`--noninteractive`|`bool`|| Never prompt; fail instead (useful for CI) |
33
+
|`-p`<br>`--plain`<br>`--tsv`|`bool`| false | Output stable, parseable text to stdout (TSV; no colors) |
34
+
|`--results-only`|`bool`|| In JSON mode, emit only the primary result (drops envelope fields like nextPageToken) |
35
+
|`--select`<br>`--pick`<br>`--project`|`string`|| In JSON mode, select comma-separated fields (best-effort; supports dot paths). Desire path: use --fields for most commands. |
> Generated from `gog schema --json`. Do not edit this page by hand; run `make docs-commands`.
4
+
5
+
Manage Google Sheets tables
6
+
7
+
## Usage
8
+
9
+
```bash
10
+
gog sheets (sheet) table (tables) <command>
11
+
```
12
+
13
+
## Parent
14
+
15
+
-[gog sheets](gog-sheets.md)
16
+
17
+
## Subcommands
18
+
19
+
-[gog sheets table create](gog-sheets-table-create.md) - Create a table
20
+
-[gog sheets table delete](gog-sheets-table-delete.md) - Delete a table
21
+
-[gog sheets table get](gog-sheets-table-get.md) - Get a table
22
+
-[gog sheets table list](gog-sheets-table-list.md) - List tables in a spreadsheet
23
+
24
+
## Flags
25
+
26
+
| Flag | Type | Default | Help |
27
+
| --- | --- | --- | --- |
28
+
|`--access-token`|`string`|| Use provided access token directly (bypasses stored refresh tokens; token expires in ~1h) |
29
+
|`-a`<br>`--account`<br>`--acct`|`string`|| Account email for API commands (gmail/calendar/chat/classroom/drive/docs/slides/contacts/tasks/people/sheets/forms/appscript/ads) |
|`-h`<br>`--help`|`kong.helpFlag`|| Show context-sensitive help. |
38
+
|`-j`<br>`--json`<br>`--machine`|`bool`| false | Output JSON to stdout (best for scripting) |
39
+
|`--no-input`<br>`--non-interactive`<br>`--noninteractive`|`bool`|| Never prompt; fail instead (useful for CI) |
40
+
|`-p`<br>`--plain`<br>`--tsv`|`bool`| false | Output stable, parseable text to stdout (TSV; no colors) |
41
+
|`--results-only`|`bool`|| In JSON mode, emit only the primary result (drops envelope fields like nextPageToken) |
42
+
|`--select`<br>`--pick`<br>`--project`|`string`|| In JSON mode, select comma-separated fields (best-effort; supports dot paths). Desire path: use --fields for most commands. |
0 commit comments