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 d965c8f
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
@@ -4126,6 +4126,7 @@ was set in, and stays in every future shell instead.
4126
4126
|`update-check`|`on`| The update notice; mirrors `MAPBOX_NO_UPDATE_CHECK` (see [Update notices](../README.md#update-notices)) |
4127
4127
|`history`|`on`|[Command history](../README.md#command-history), read by `mapbox history`; `MAPBOX_HISTORY=0` or `=1` overrides it for a session |
4128
4128
|`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`|
4129
+
|`telemetry`|`on`| The run's telemetry event; mirrors `MAPBOX_CLI_NO_TELEMETRY` (see [Privacy](../README.md#privacy)) |
4129
4130
4130
4131
### `mapbox config get`
4131
4132
@@ -4137,7 +4138,7 @@ than failing, the same forgiving read the update-check cache itself uses.
4137
4138
4138
4139
| Parameter | Effect |
4139
4140
| --- | --- |
4140
-
|`<key>`| Which setting to read: `update-check`, `history`or `log`. |
4141
+
|`<key>`| Which setting to read: `update-check`, `history`, `log`or `telemetry`. |
4141
4142
4142
4143
#### Examples
4143
4144
@@ -4176,7 +4177,7 @@ without an environment variable.
4176
4177
4177
4178
| Parameter | Effect |
4178
4179
| --- | --- |
4179
-
|`<key>`| Which setting to change: `update-check`, `history`or `log`. |
4180
+
|`<key>`| Which setting to change: `update-check`, `history`, `log`or `telemetry`. |
4180
4181
|`<value>`|`on` or `off`. |
4181
4182
4182
4183
#### Examples
@@ -4235,6 +4236,7 @@ mapbox config list
4235
4236
update-check on
4236
4237
history on
4237
4238
log off
4239
+
telemetry on
4238
4240
```
4239
4241
4240
4242
</td><td>
@@ -4252,6 +4254,10 @@ log off
4252
4254
{
4253
4255
"key": "log",
4254
4256
"value": false
4257
+
},
4258
+
{
4259
+
"key": "telemetry",
4260
+
"value": true
4255
4261
}
4256
4262
]
4257
4263
```
@@ -4270,7 +4276,7 @@ default, a key explicitly set to the old default value does not.
4270
4276
4271
4277
| Parameter | Effect |
4272
4278
| --- | --- |
4273
-
|`<key>`| Which setting to clear: `update-check`, `history`or `log`. |
4279
+
|`<key>`| Which setting to clear: `update-check`, `history`, `log`or `telemetry`. |
0 commit comments