forked from platformio/platformio-core
Extend JSON output when listing installed development platforms
This commit is contained in:
@ -138,7 +138,11 @@ def platform_list(json_output):
|
||||
"title": p.title,
|
||||
"description": p.description,
|
||||
"version": p.version,
|
||||
"packages": p.get_installed_packages().keys()
|
||||
"url": p.manifest.get("url"),
|
||||
"packages": p.get_installed_packages().keys(),
|
||||
'forDesktop': any([
|
||||
p.name.startswith(n) for n in ("native", "linux", "windows")
|
||||
])
|
||||
})
|
||||
|
||||
if json_output:
|
||||
|
Reference in New Issue
Block a user