gog forms add-question
Generated from
gog schema --json. Do not edit this page by hand; runmake docs-commands.
Add a question to a form
#Usage
gog forms (form) add-question (add-q,aq) --title=STRING <formId> [flags]
#Parent
#Flags
| Flag | Type | Default | Help |
|---|---|---|---|
--access-token | string | Use provided access token directly (bypasses stored refresh tokens; token expires in ~1h) | |
-a--account--acct | string | Account email for API commands (gmail/calendar/chat/classroom/drive/docs/slides/contacts/tasks/people/sheets/forms/appscript/ads) | |
--client | string | OAuth client name (selects stored credentials + token bucket) | |
--color | string | auto | Color output: auto|always|never |
--description | string | Question description/help text | |
--disable-commands | string | Comma-separated list of disabled commands; dot paths allowed | |
-n--dry-run--dryrun--noop--preview | bool | Do not make changes; print intended actions and exit successfully | |
--duration | bool | Ask for duration instead of time (for time type) | |
--enable-commands | string | Comma-separated list of enabled commands; dot paths allowed (restricts CLI) | |
-y--force--assume-yes--yes | bool | Skip confirmations for destructive commands | |
--gmail-no-send | bool | false | Block Gmail send operations (agent safety) |
-h--help | kong.helpFlag | Show context-sensitive help. | |
--include-time | bool | Include time picker (for date type) | |
--include-year | bool | Include year field (for date type) | |
--index | int | -1 | Position to insert (0-based, default append) |
-j--json--machine | bool | false | Output JSON to stdout (best for scripting) |
--no-input--non-interactive--noninteractive | bool | Never prompt; fail instead (useful for CI) | |
-o--option | []string | Choice options (for radio/checkbox/dropdown, repeat for each) | |
-p--plain--tsv | bool | false | Output stable, parseable text to stdout (TSV; no colors) |
--required | bool | Whether an answer is required | |
--results-only | bool | In JSON mode, emit only the primary result (drops envelope fields like nextPageToken) | |
--scale-high | int | 5 | Scale maximum value |
--scale-high-label | string | Label for high end of scale | |
--scale-low | int | 1 | Scale minimum value |
--scale-low-label | string | Label for low end of scale | |
--select--pick--project | string | In JSON mode, select comma-separated fields (best-effort; supports dot paths). Desire path: use --fields for most commands. | |
--title | string | Question title/text | |
--type | string | text | Question type: text|paragraph|radio|checkbox|dropdown|scale|date|time |
-v--verbose | bool | Enable verbose logging | |
--version | kong.VersionFlag | Print version and exit |