Reference

`gog docs table-column-width`

gog docs table-column-width

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

Set or reset native table column widths

#Usage

gog docs (doc) table-column-width (table-width,column-width) <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
--batchstringAppend requests to a persisted Docs batch instead of submitting
--clientstringOAuth client name (selects stored credentials + token bucket)
--colint1-based column number. Omit with --evenly-distributed to reset all columns.
--colorstringautoColor output: auto|always|never
--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
--evenly-distributed
--even
boolReset selected column, or all columns when --col is omitted, to Docs-managed equal width
-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)
-j
--json
--machine
boolfalseOutput JSON to stdout (best for scripting)
--no-input
--non-interactive
--noninteractive
boolNever prompt; fail instead (useful for CI)
-p
--plain
--tsv
boolfalseOutput stable, parseable text to stdout (TSV; no colors)
--results-onlyboolIn JSON mode, emit only the primary result (drops envelope fields like nextPageToken)
--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
-v
--verbose
boolEnable verbose logging
--versionkong.VersionFlagPrint version and exit
--widthfloat64Fixed column width in points (minimum 5pt)
--wrap-untrustedboolfalseIn JSON/raw output, wrap fetched text fields in external untrusted-content markers

#See Also