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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@
4
4
5
5
### Added
6
6
7
+
- Docs: add first-class footnote, section-break, horizontal-rule, and section-column commands with shared index, anchor, tab, dry-run, and batch behavior where supported. (#856) — thanks @sebsnyk.
8
+
- Docs: add header/footer lifecycle commands plus segment-aware plain-text insert, update, delete, format, and range lookup across headers, footers, and footnotes. (#857) — thanks @sebsnyk.
7
9
- Docs: add table cell borders, padding, and vertical content alignment to `docs cell-style`. (#855) — thanks @sebsnyk.
8
10
- Docs: add minimum height and page-overflow controls to `docs table-row style`. (#855) — thanks @sebsnyk.
9
11
- Docs: add `docs table-row pin-header --rows N` for pinning or unpinning repeated table header rows. (#855) — thanks @sebsnyk.
Copy file name to clipboardExpand all lines: docs/commands.generated.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -246,7 +246,15 @@ Generated from `gog schema --json`.
246
246
-[`gog docs (doc) export (download,dl) <docId> [flags]`](commands/gog-docs-export.md) - Export a Google Doc (pdf|docx|txt|md|html)
247
247
-[`gog docs (doc) find-range <docId> <text> [flags]`](commands/gog-docs-find-range.md) - Find text and print Docs API UTF-16 index ranges
248
248
-[`gog docs (doc) find-replace <docId> <find> [<replace>] [flags]`](commands/gog-docs-find-replace.md) - Find and replace text. Supports plain text or markdown with images; use --first for a single occurrence.
-[`gog docs (doc) insert-image <docId> [flags]`](commands/gog-docs-insert-image.md) - Insert a public image URL or upload a local image into a Google Doc
259
269
-[`gog docs (doc) insert-page-break (page-break,pb) <docId> [flags]`](commands/gog-docs-insert-page-break.md) - Insert a page break at a specific position (or end-of-doc with --at-end)
260
270
-[`gog docs (doc) insert-person --email=STRING <docId> [flags]`](commands/gog-docs-insert-person.md) - Insert a native person smart chip
271
+
-[`gog docs (doc) insert-section-break <docId> [flags]`](commands/gog-docs-insert-section-break.md) - Insert a continuous or next-page section break
261
272
-[`gog docs (doc) insert-table --rows=INT --cols=INT <docId> [flags]`](commands/gog-docs-insert-table.md) - Insert a native table at a specific position (or end-of-doc with --at-end), optionally populated via --values-json
262
273
-[`gog docs (doc) list-tabs <docId>`](commands/gog-docs-list-tabs.md) - List all tabs in a Google Doc
263
274
-[`gog docs (doc) named-range (named-ranges,namedranges,nr) <command>`](commands/gog-docs-named-range.md) - Manage named ranges
@@ -271,6 +282,7 @@ Generated from `gog schema --json`.
271
282
-[`gog docs (doc) raw <docId> [flags]`](commands/gog-docs-raw.md) - Dump raw Google Docs API response as JSON (Documents.Get; lossless; for scripting and LLM consumption)
272
283
-[`gog docs (doc) rename-tab <docId> [flags]`](commands/gog-docs-rename-tab.md) - Rename a tab in a Google Doc
273
284
-[`gog docs (doc) replace-image <docId> [flags]`](commands/gog-docs-replace-image.md) - Replace an existing image without changing its position or bounds
285
+
-[`gog docs (doc) section-columns --count=INT <docId> [flags]`](commands/gog-docs-section-columns.md) - Set the column count for a document section
Copy file name to clipboardExpand all lines: docs/commands/README.md
+13-1Lines changed: 13 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: 682.
5
+
Generated pages: 694.
6
6
7
7
## Top-level Commands
8
8
@@ -297,7 +297,15 @@ Generated pages: 682.
297
297
-[gog docs export](gog-docs-export.md) - Export a Google Doc (pdf|docx|txt|md|html)
298
298
-[gog docs find-range](gog-docs-find-range.md) - Find text and print Docs API UTF-16 index ranges
299
299
-[gog docs find-replace](gog-docs-find-replace.md) - Find and replace text. Supports plain text or markdown with images; use --first for a single occurrence.
300
+
-[gog docs footer](gog-docs-footer.md) - List, create, or delete document footers
301
+
-[gog docs footer create](gog-docs-footer-create.md) - Create and optionally populate a footer
302
+
-[gog docs footer delete](gog-docs-footer-delete.md) - Delete a footer
303
+
-[gog docs footer list](gog-docs-footer-list.md) - List footers and their segment IDs
300
304
-[gog docs format](gog-docs-format.md) - Apply text or paragraph formatting to a Google Doc
305
+
-[gog docs header](gog-docs-header.md) - List, create, or delete document headers
306
+
-[gog docs header create](gog-docs-header-create.md) - Create and optionally populate a header
307
+
-[gog docs header delete](gog-docs-header-delete.md) - Delete a header
308
+
-[gog docs header list](gog-docs-header-list.md) - List headers and their segment IDs
301
309
-[gog docs headings](gog-docs-headings.md) - List document headings
302
310
-[gog docs headings list](gog-docs-headings-list.md) - List heading paragraphs
303
311
-[gog docs images](gog-docs-images.md) - List document images
@@ -306,9 +314,12 @@ Generated pages: 682.
306
314
-[gog docs insert](gog-docs-insert.md) - Insert text at a specific position
307
315
-[gog docs insert-date-chip](gog-docs-insert-date-chip.md) - Insert a native date smart chip
-[gog docs insert-footnote](gog-docs-insert-footnote.md) - Insert and populate a footnote
318
+
-[gog docs insert-horizontal-rule](gog-docs-insert-horizontal-rule.md) - Insert a paragraph-border horizontal rule
309
319
-[gog docs insert-image](gog-docs-insert-image.md) - Insert a public image URL or upload a local image into a Google Doc
310
320
-[gog docs insert-page-break](gog-docs-insert-page-break.md) - Insert a page break at a specific position (or end-of-doc with --at-end)
311
321
-[gog docs insert-person](gog-docs-insert-person.md) - Insert a native person smart chip
322
+
-[gog docs insert-section-break](gog-docs-insert-section-break.md) - Insert a continuous or next-page section break
312
323
-[gog docs insert-table](gog-docs-insert-table.md) - Insert a native table at a specific position (or end-of-doc with --at-end), optionally populated via --values-json
313
324
-[gog docs list-tabs](gog-docs-list-tabs.md) - List all tabs in a Google Doc
314
325
-[gog docs named-range](gog-docs-named-range.md) - Manage named ranges
@@ -322,6 +333,7 @@ Generated pages: 682.
322
333
-[gog docs raw](gog-docs-raw.md) - Dump raw Google Docs API response as JSON (Documents.Get; lossless; for scripting and LLM consumption)
323
334
-[gog docs rename-tab](gog-docs-rename-tab.md) - Rename a tab in a Google Doc
324
335
-[gog docs replace-image](gog-docs-replace-image.md) - Replace an existing image without changing its position or bounds
336
+
-[gog docs section-columns](gog-docs-section-columns.md) - Set the column count for a document section
|`--occurrence`|`*int`|| Use the Nth --at match (1-based; required when --at is ambiguous) |
40
40
|`-p`<br>`--plain`<br>`--tsv`|`bool`| false | Output stable, parseable text to stdout (TSV; no colors) |
41
41
|`--results-only`|`bool`|| In JSON mode, emit only the primary result (drops envelope fields like nextPageToken) |
42
+
|`--segment`|`string`|| Target an exact header, footer, or footnote segment ID |
42
43
|`--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. |
43
44
|`--start`|`*int64`|| Start index (>= 1; required unless --at is set) |
44
45
|`--tab`|`string`|| Target a specific tab by title or ID (see docs list-tabs) |
|`--occurrence`|`*int`|| Return the Nth occurrence (1-based; default first) |
40
40
|`-p`<br>`--plain`<br>`--tsv`|`bool`| false | Output stable, parseable text to stdout (TSV; no colors) |
41
41
|`--results-only`|`bool`|| In JSON mode, emit only the primary result (drops envelope fields like nextPageToken) |
42
+
|`--segment`|`string`|| Target an exact header, footer, or footnote segment ID |
42
43
|`--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. |
43
44
|`--tab`|`string`|| Target a specific tab by title or ID (see docs list-tabs) |
|`-h`<br>`--help`|`kong.helpFlag`|| Show context-sensitive help. |
35
+
|`--home`|`string`|| Override gogcli config/data/state/cache root (equivalent to GOG_HOME) |
36
+
|`--index`|`*int64`|| Character index (1 = beginning); omit for end-of-doc |
37
+
|`-j`<br>`--json`<br>`--machine`|`bool`| false | Output JSON to stdout (best for scripting) |
38
+
|`--match-case`|`bool`|| Use case-sensitive --at matching |
39
+
|`--no-input`<br>`--non-interactive`<br>`--noninteractive`|`bool`|| Never prompt; fail instead (useful for CI) |
40
+
|`--occurrence`|`*int`|| Use the Nth --at match (1-based; required when --at is ambiguous) |
41
+
|`-p`<br>`--plain`<br>`--tsv`|`bool`| false | Output stable, parseable text to stdout (TSV; no colors) |
42
+
|`--results-only`|`bool`|| In JSON mode, emit only the primary result (drops envelope fields like nextPageToken) |
43
+
|`--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. |
44
+
|`--tab`|`string`|| Target a specific tab by title or ID (see docs list-tabs) |
|`-h`<br>`--help`|`kong.helpFlag`|| Show context-sensitive help. |
32
+
|`--home`|`string`|| Override gogcli config/data/state/cache root (equivalent to GOG_HOME) |
33
+
|`-j`<br>`--json`<br>`--machine`|`bool`| false | Output JSON to stdout (best for scripting) |
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. |
38
+
|`--tab`|`string`|| Tab title or ID containing the footer |
|`-h`<br>`--help`|`kong.helpFlag`|| Show context-sensitive help. |
32
+
|`--home`|`string`|| Override gogcli config/data/state/cache root (equivalent to GOG_HOME) |
33
+
|`-j`<br>`--json`<br>`--machine`|`bool`| false | Output JSON to stdout (best for scripting) |
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. |
38
+
|`--tab`|`string`|| Limit results to a tab title or ID |
0 commit comments