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
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@
4
4
5
5
### Added
6
6
7
+
- Docs: add `replace-image` with exact object-ID, alt-text, single-image, tab, public-URL, and local-file targeting while preserving the original image position and bounds. (#853) — thanks @sebsnyk.
7
8
- Docs: add `insert --markdown` to convert markdown to Google Docs formatting and place the converted block at a position resolved by `--index`/`--at`/`--occurrence`, giving `insert` parity with the existing `update --markdown` and `write --markdown` paths. (#851, #854) — thanks @sebsnyk.
Copy file name to clipboardExpand all lines: docs/commands.generated.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
@@ -270,6 +270,7 @@ Generated from `gog schema --json`.
270
270
-[`gog docs (doc) paragraphs list (ls) <docId> [flags]`](commands/gog-docs-paragraphs-list.md) - List paragraphs
271
271
-[`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
272
-[`gog docs (doc) rename-tab <docId> [flags]`](commands/gog-docs-rename-tab.md) - Rename a tab in a Google Doc
273
+
-[`gog docs (doc) replace-image <docId> [flags]`](commands/gog-docs-replace-image.md) - Replace an existing image without changing its position or bounds
Copy file name to clipboardExpand all lines: docs/commands/README.md
+2-1Lines changed: 2 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: 679.
5
+
Generated pages: 680.
6
6
7
7
## Top-level Commands
8
8
@@ -321,6 +321,7 @@ Generated pages: 679.
321
321
-[gog docs paragraphs list](gog-docs-paragraphs-list.md) - List paragraphs
322
322
-[gog docs raw](gog-docs-raw.md) - Dump raw Google Docs API response as JSON (Documents.Get; lossless; for scripting and LLM consumption)
323
323
-[gog docs rename-tab](gog-docs-rename-tab.md) - Rename a tab in a Google Doc
324
+
-[gog docs replace-image](gog-docs-replace-image.md) - Replace an existing image without changing its position or bounds
|`-h`<br>`--help`|`kong.helpFlag`|| Show context-sensitive help. |
33
+
|`--home`|`string`|| Override gogcli config/data/state/cache root (equivalent to GOG_HOME) |
34
+
|`-j`<br>`--json`<br>`--machine`|`bool`| false | Output JSON to stdout (best for scripting) |
35
+
|`--match-alt`|`string`|| Select the image whose alt text contains this value (case-insensitive) |
36
+
|`--name`|`string`|| Override the uploaded Drive filename |
37
+
|`--no-input`<br>`--non-interactive`<br>`--noninteractive`|`bool`|| Never prompt; fail instead (useful for CI) |
38
+
|`--object-id`|`string`|| Exact image object ID from docs images list |
39
+
|`--parent`|`string`|| Drive folder ID for an uploaded local image |
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. |
43
+
|`--tab`|`string`|| Target a specific tab by title or ID (see docs list-tabs) |
44
+
|`--url`|`string`|| Public HTTPS image URL to use directly |
0 commit comments