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
{{ message }}
Repository navigation
Commit 20d2fe9
Browse filesBrowse the repository at this point in the historyBrowse files
Add a persisted telemetry setting to mapbox config
mapbox config set telemetry off stops the run's telemetry event in every
shell, beside MAPBOX_CLI_NO_TELEMETRY for one. The setting is read again
at exit, so the run that turns it off does not report itself.
Copy file name to clipboardExpand all lines: docs/commands.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4129,6 +4129,7 @@ was set in, and stays in every future shell instead.
4129
4129
|`update-check`|`on`| The update notice; mirrors `MAPBOX_NO_UPDATE_CHECK` (see [Update notices](../README.md#update-notices)) |
4130
4130
|`history`|`on`|[Command history](../README.md#command-history), read by `mapbox history`; `MAPBOX_HISTORY=0` or `=1` overrides it for a session |
4131
4131
|`log`|`off`|[Diagnostic logs](../README.md#diagnostic-logs), shown by `mapbox history show`; `MAPBOX_LOG=1` or `=0` overrides it for a session. Needs `history` on: `config set log on` with history off fails with `history_required`|
4132
+
|`telemetry`|`on`| The run's telemetry event; mirrors `MAPBOX_CLI_NO_TELEMETRY` (see [Privacy](../README.md#privacy)) |
4132
4133
4133
4134
### `mapbox config get`
4134
4135
@@ -4140,7 +4141,7 @@ than failing, the same forgiving read the update-check cache itself uses.
4140
4141
4141
4142
| Parameter | Effect |
4142
4143
| --- | --- |
4143
-
|`<key>`| Which setting to read: `update-check`, `history`or `log`. |
4144
+
|`<key>`| Which setting to read: `update-check`, `history`, `log`or `telemetry`. |
4144
4145
4145
4146
#### Examples
4146
4147
@@ -4179,7 +4180,7 @@ without an environment variable.
4179
4180
4180
4181
| Parameter | Effect |
4181
4182
| --- | --- |
4182
-
|`<key>`| Which setting to change: `update-check`, `history`or `log`. |
4183
+
|`<key>`| Which setting to change: `update-check`, `history`, `log`or `telemetry`. |
4183
4184
|`<value>`|`on` or `off`. |
4184
4185
4185
4186
#### Examples
@@ -4238,6 +4239,7 @@ mapbox config list
4238
4239
update-check on
4239
4240
history on
4240
4241
log off
4242
+
telemetry on
4241
4243
```
4242
4244
4243
4245
</td><td>
@@ -4255,6 +4257,10 @@ log off
4255
4257
{
4256
4258
"key": "log",
4257
4259
"value": false
4260
+
},
4261
+
{
4262
+
"key": "telemetry",
4263
+
"value": true
4258
4264
}
4259
4265
]
4260
4266
```
@@ -4273,7 +4279,7 @@ default, a key explicitly set to the old default value does not.
4273
4279
4274
4280
| Parameter | Effect |
4275
4281
| --- | --- |
4276
-
|`<key>`| Which setting to clear: `update-check`, `history`or `log`. |
4282
+
|`<key>`| Which setting to clear: `update-check`, `history`, `log`or `telemetry`. |
0 commit comments