mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Add link to telemetry setting
This commit is contained in:
@ -142,7 +142,7 @@ Examples
|
||||
check_platformio_interval 3 Check for the new PlatformIO interval (days)
|
||||
check_platforms_interval 7 Check for the platform updates interval (days)
|
||||
enable_prompts Yes Can PlatformIO communicate with you via prompts: propose to install platforms which aren't installed yet, paginate over library search results and etc.)? ATTENTION!!! If you call PlatformIO like subprocess, please disable prompts to avoid blocking (Yes/No)
|
||||
enable_telemetry Yes Share diagnostics and usage information (PlatformIO fatal errors/exceptions, platforms, boards, frameworks, commands) to help us make PlatformIO better (Yes/No)
|
||||
enable_telemetry Yes Telemetry service (Yes/No)
|
||||
|
||||
|
||||
2. Show specified setting
|
||||
|
@ -47,10 +47,8 @@ DEFAULT_SETTINGS = {
|
||||
},
|
||||
"enable_telemetry": {
|
||||
"description": (
|
||||
"Share diagnostics and usage information (PlatformIO fatal "
|
||||
"errors/exceptions, platforms, boards, frameworks, commands) "
|
||||
"to help us make PlatformIO better. We DO NOT share PRIVATE "
|
||||
"information (Yes/No)"),
|
||||
"Telemetry service <http://docs.platformio.org/en/latest/"
|
||||
"userguide/cmd_settings.html?#enable-telemetry> (Yes/No)"),
|
||||
"value": True
|
||||
},
|
||||
"enable_prompts": {
|
||||
|
@ -18,8 +18,7 @@ from platformio import app
|
||||
|
||||
def test_settings_check(clirunner, validate_cliresult):
|
||||
result = clirunner.invoke(cli, ["get"])
|
||||
assert result.exit_code == 0
|
||||
assert not result.exception
|
||||
validate_cliresult(result)
|
||||
assert len(result.output)
|
||||
for item in app.DEFAULT_SETTINGS.items():
|
||||
assert item[0] in result.output
|
||||
|
Reference in New Issue
Block a user