Reference

`gog docs cell-style`

gog docs cell-style

Generated from gog schema --json. Do not edit this page by hand; run make docs-commands.

Apply table cell, border, padding, alignment, and text styling

#Usage

gog docs (doc) cell-style --row=INT --col=INT <docId> [flags]

#Parent

#Flags

FlagTypeDefaultHelp
--access-tokenstringUse provided access token directly (bypasses stored refresh tokens; token expires in ~1h)
-a
--account
--acct
stringAccount email, alias, or auto for authenticated Google API commands
--background-color
--bg-color
stringCell background color as #RRGGBB or #RGB
--batchstringAppend requests to a persisted Docs batch instead of submitting
--boldboolSet cell text bold
--border-allstringAll borders as WIDTH[,COLOR[,SOLID|DOT|DASH]] (e.g. 1pt,#000,DASH)
--border-bottomstringBottom border; overrides --border-all
--border-leftstringLeft border; overrides --border-all
--border-rightstringRight border; overrides --border-all
--border-topstringTop border; overrides --border-all
--clientstringOAuth client name (selects stored credentials + token bucket)
--colint1-based column number
--col-spanint641Number of columns to style
--colorstringautoColor output: auto|always|never
--content-alignstringVertical content alignment: top, middle, or bottom
--disable-commandsstringComma-separated list of disabled commands; dot paths allowed
-n
--dry-run
--dryrun
--noop
--preview
boolDo not make changes; print intended actions and exit successfully
--enable-commandsstringComma-separated list of enabled command prefixes; dot paths allowed (restricts CLI)
--enable-commands-exactstringComma-separated list of exact enabled commands; dot paths allowed and parent commands do not enable children
-y
--force
--assume-yes
--yes
boolSkip confirmations for destructive commands
--gmail-no-sendboolfalseBlock Gmail send operations (agent safety)
-h
--help
kong.helpFlagShow context-sensitive help.
--homestringOverride gogcli config/data/state/cache root (equivalent to GOG_HOME)
--italicboolSet cell text italic
-j
--json
--machine
boolfalseOutput JSON to stdout (best for scripting)
--no-input
--non-interactive
--noninteractive
boolNever prompt; fail instead (useful for CI)
--padding-allstringAll cell padding (points by default; supports pt, in, cm, mm)
--padding-bottomstringBottom cell padding; overrides --padding-all
--padding-leftstringLeft cell padding; overrides --padding-all
--padding-rightstringRight cell padding; overrides --padding-all
--padding-topstringTop cell padding; overrides --padding-all
-p
--plain
--tsv
boolfalseOutput stable, parseable text to stdout (TSV; no colors)
--readonlyboolfalseBlock mutating API requests at runtime; auth add also requests read-only OAuth scopes
--results-onlyboolIn JSON mode, emit only the primary result (drops envelope fields like nextPageToken)
--rowint1-based row number
--row-spanint641Number of rows to style
--select
--pick
--project
stringIn JSON mode, select comma-separated fields (best-effort; supports dot paths). Desire path: use --fields for most commands.
--tabstringTarget a specific tab by title or ID (see docs list-tabs)
--table-indexint11-based table index in document order; negative indexes count from the end
--text-colorstringText color as #RRGGBB or #RGB
--underlineboolSet cell text underline
-v
--verbose
boolEnable verbose logging
--versionkong.VersionFlagPrint version and exit
--wrap-untrustedboolfalseIn JSON/raw output, wrap fetched text fields in external untrusted-content markers

#See Also