Reference

`gog forms add-question`

gog forms add-question

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

Add a question to a form

#Usage

gog forms (form) add-question (add-q,aq) --title=STRING <formId> [flags]

#Parent

#Flags

FlagTypeDefaultHelp
--access-tokenstringUse provided access token directly (bypasses stored refresh tokens; token expires in ~1h)
-a
--account
--acct
stringAccount email for API commands (gmail/calendar/chat/classroom/drive/docs/slides/contacts/tasks/people/sheets/forms/appscript/ads)
--clientstringOAuth client name (selects stored credentials + token bucket)
--colorstringautoColor output: auto|always|never
--descriptionstringQuestion description/help text
--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
--durationboolAsk for duration instead of time (for time type)
--enable-commandsstringComma-separated list of enabled commands; dot paths allowed (restricts CLI)
-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.
--include-timeboolInclude time picker (for date type)
--include-yearboolInclude year field (for date type)
--indexint-1Position to insert (0-based, default append)
-j
--json
--machine
boolfalseOutput JSON to stdout (best for scripting)
--no-input
--non-interactive
--noninteractive
boolNever prompt; fail instead (useful for CI)
-o
--option
[]stringChoice options (for radio/checkbox/dropdown, repeat for each)
-p
--plain
--tsv
boolfalseOutput stable, parseable text to stdout (TSV; no colors)
--requiredboolWhether an answer is required
--results-onlyboolIn JSON mode, emit only the primary result (drops envelope fields like nextPageToken)
--scale-highint5Scale maximum value
--scale-high-labelstringLabel for high end of scale
--scale-lowint1Scale minimum value
--scale-low-labelstringLabel for low end of scale
--select
--pick
--project
stringIn JSON mode, select comma-separated fields (best-effort; supports dot paths). Desire path: use --fields for most commands.
--titlestringQuestion title/text
--typestringtextQuestion type: text|paragraph|radio|checkbox|dropdown|scale|date|time
-v
--verbose
boolEnable verbose logging
--versionkong.VersionFlagPrint version and exit

#See Also