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
'Usage: gemini [options] [command]\n\nGemini CLI - Launch an interactive CLI, use -p/--prompt for non-interactive mode',
95
95
)
96
+
.option('telemetry',{
97
+
type: 'boolean',
98
+
description:
99
+
'Enable telemetry? This flag specifically controls if telemetry is sent. Other --telemetry-* flags set specific values but do not enable telemetry on their own.',
100
+
})
101
+
.option('telemetry-target',{
102
+
type: 'string',
103
+
choices: ['local','gcp'],
104
+
description:
105
+
'Set the telemetry target (local or gcp). Overrides settings files.',
106
+
})
107
+
.option('telemetry-otlp-endpoint',{
108
+
type: 'string',
109
+
description:
110
+
'Set the OTLP endpoint for telemetry. Overrides environment variables and settings files.',
111
+
})
112
+
.option('telemetry-otlp-protocol',{
113
+
type: 'string',
114
+
choices: ['grpc','http'],
115
+
description:
116
+
'Set the OTLP protocol for telemetry (grpc or http). Overrides settings files.',
117
+
})
118
+
.option('telemetry-log-prompts',{
119
+
type: 'boolean',
120
+
description:
121
+
'Enable or disable logging of user prompts for telemetry. Overrides settings files.',
122
+
})
123
+
.option('telemetry-outfile',{
124
+
type: 'string',
125
+
description: 'Redirect all telemetry output to the specified file.',
126
+
})
127
+
.deprecateOption(
128
+
'telemetry',
129
+
'Use the "telemetry.enabled" setting in settings.json instead. This flag will be removed in a future version.',
130
+
)
131
+
.deprecateOption(
132
+
'telemetry-target',
133
+
'Use the "telemetry.target" setting in settings.json instead. This flag will be removed in a future version.',
134
+
)
135
+
.deprecateOption(
136
+
'telemetry-otlp-endpoint',
137
+
'Use the "telemetry.otlpEndpoint" setting in settings.json instead. This flag will be removed in a future version.',
138
+
)
139
+
.deprecateOption(
140
+
'telemetry-otlp-protocol',
141
+
'Use the "telemetry.otlpProtocol" setting in settings.json instead. This flag will be removed in a future version.',
142
+
)
143
+
.deprecateOption(
144
+
'telemetry-log-prompts',
145
+
'Use the "telemetry.logPrompts" setting in settings.json instead. This flag will be removed in a future version.',
146
+
)
147
+
.deprecateOption(
148
+
'telemetry-outfile',
149
+
'Use the "telemetry.outfile" setting in settings.json instead. This flag will be removed in a future version.',
150
+
)
151
+
.option('debug',{
152
+
alias: 'd',
153
+
type: 'boolean',
154
+
description: 'Run in debug mode?',
155
+
default: false,
156
+
})
157
+
.option('proxy',{
158
+
type: 'string',
159
+
description:
160
+
'Proxy for gemini client, like schema://user:password@host:port',
161
+
})
162
+
.deprecateOption(
163
+
'proxy',
164
+
'Use the "proxy" setting in settings.json instead. This flag will be removed in a future version.',
'Set the approval mode: default (prompt for approval), auto_edit (auto-approve edit tools), yolo (auto-approve all tools)',
152
216
})
153
-
.option('telemetry',{
154
-
type: 'boolean',
155
-
description:
156
-
'Enable telemetry? This flag specifically controls if telemetry is sent. Other --telemetry-* flags set specific values but do not enable telemetry on their own.',
157
-
})
158
-
.option('telemetry-target',{
159
-
type: 'string',
160
-
choices: ['local','gcp'],
161
-
description:
162
-
'Set the telemetry target (local or gcp). Overrides settings files.',
163
-
})
164
-
.option('telemetry-otlp-endpoint',{
165
-
type: 'string',
166
-
description:
167
-
'Set the OTLP endpoint for telemetry. Overrides environment variables and settings files.',
168
-
})
169
-
.option('telemetry-otlp-protocol',{
170
-
type: 'string',
171
-
choices: ['grpc','http'],
172
-
description:
173
-
'Set the OTLP protocol for telemetry (grpc or http). Overrides settings files.',
174
-
})
175
-
.option('telemetry-log-prompts',{
176
-
type: 'boolean',
177
-
description:
178
-
'Enable or disable logging of user prompts for telemetry. Overrides settings files.',
179
-
})
180
-
.option('telemetry-outfile',{
181
-
type: 'string',
182
-
description: 'Redirect all telemetry output to the specified file.',
0 commit comments