Project: titanium
Issue TIMOB-19045: Windows: Add -t windows to ti info command
h5.Description When running {{ti info}} you can specify what you want info for by using the -t flag, for example {{ti info -t android}}, {{ti info -t jdk}} etc. A Windows flag should be added similar to the other flags, at the moment there is Windows specific information that is in the regular {{ti info}} output, see below {code} "windows": { "detectVersion": "3.0", "issues": [ { "id": "WINDOWS_STORE_SDK_MISSING_DEPLOY_CMD", "type": "error", "message": "Microsoft Windows Store SDK is missing the deploy command.\nYou will be unable to build Windows Store apps." } ], "assemblies": { "Microsoft.SmartDevice.Connectivity.Interface": { "12.0.0.0": { "assemblyFile": "C:\\Windows\\Microsoft.NET\\assembly\\GAC_MSIL\\Microsoft.SmartDevice.Connectivity.Interface\\v4.0_12.0.0.0__b03f5f7f11d50a3a\\Microsoft.SmartDevice.Connectivity.Interface.dll", "dotNetVersion": "4.0", "assemblyVersion": "12.0.0.0", "publicKeyToken": "b03f5f7f11d50a3a" } }, "Microsoft.SmartDevice.MultiTargeting.Connectivity": { "12.0.0.0": { "assemblyFile": "C:\\Windows\\Microsoft.NET\\assembly\\GAC_MSIL\\Microsoft.SmartDevice.MultiTargeting.Connectivity\\v4.0_12.0.0.0__b03f5f7f11d50a3a\\Microsoft.SmartDevice.MultiTargeting.Connectivity.dll", "dotNetVersion": "4.0", "assemblyVersion": "12.0.0.0", "publicKeyToken": "b03f5f7f11d50a3a" } } }, "windows": { "8.0": { "version": "8.0", "registryKey": "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Microsoft SDKs\\Windows\\v8.0", "supported": true, "path": "C:\\Program Files (x86)\\Windows Kits\\8.0\\", "signTool": { "x86": "C:\\Program Files (x86)\\Windows Kits\\8.0\\bin\\x86\\SignTool.exe", "x64": "C:\\Program Files (x86)\\Windows Kits\\8.0\\bin\\x64\\SignTool.exe" }, "makeCert": { "x86": "C:\\Program Files (x86)\\Windows Kits\\8.0\\bin\\x86\\MakeCert.exe", "x64": "C:\\Program Files (x86)\\Windows Kits\\8.0\\bin\\x64\\MakeCert.exe" }, "pvk2pfx": null, "selected": false }, "8.1": { "version": "8.1", "registryKey": "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Microsoft SDKs\\Windows\\v8.1", "supported": true, "path": "C:\\Program Files (x86)\\Windows Kits\\8.1\\", "signTool": { "arm": "C:\\Program Files (x86)\\Windows Kits\\8.1\\bin\\arm\\SignTool.exe", "x86": "C:\\Program Files (x86)\\Windows Kits\\8.1\\bin\\x86\\SignTool.exe", "x64": "C:\\Program Files (x86)\\Windows Kits\\8.1\\bin\\x64\\SignTool.exe" }, "makeCert": { "x86": "C:\\Program Files (x86)\\Windows Kits\\8.1\\bin\\x86\\MakeCert.exe", "x64": "C:\\Program Files (x86)\\Windows Kits\\8.1\\bin\\x64\\MakeCert.exe" }, "pvk2pfx": { "x86": "C:\\Program Files (x86)\\Windows Kits\\8.1\\bin\\x86\\pvk2pfx.exe", "x64": "C:\\Program Files (x86)\\Windows Kits\\8.1\\bin\\x64\\pvk2pfx.exe" }, "selected": false } }, "windowsphone": { "8.0": { "version": "8.0", "registryKey": "HKEY_LOCAL_MACHINE\\Software\\Wow6432Node\\Microsoft\\Microsoft SDKs\\WindowsPhone\\v8.0", "supported": true, "path": "C:\\Program Files (x86)\\Microsoft SDKs\\Windows Phone\\v8.0\\", "deployCmd": null, "xapSignTool": null, "selected": false }, "8.1": { "version": "8.1", "registryKey": "HKEY_LOCAL_MACHINE\\Software\\Wow6432Node\\Microsoft\\Microsoft SDKs\\WindowsPhone\\v8.1", "supported": true, "path": "C:\\Program Files (x86)\\Microsoft SDKs\\Windows Phone\\v8.1\\", "deployCmd": "C:\\Program Files (x86)\\Microsoft SDKs\\Windows Phone\\v8.1\\Tools\\AppDeploy\\AppDeployCmd.exe", "xapSignTool": "C:\\Program Files (x86)\\Microsoft SDKs\\Windows Phone\\v8.1\\Tools\\XapSignTool\\XapSignTool.exe", "selected": true } }, "emulators": { "8.0": [], "8.1": [ { "name": "Emulator 8.1 WVGA 4 inch 512MB", "udid": "8-1-1", "index": 1, "wpsdk": "8.1" }, { "name": "Emulator 8.1 WVGA 4 inch", "udid": "8-1-2", "index": 2, "wpsdk": "8.1" }, { "name": "Emulator 8.1 WXGA 4.5 inch", "udid": "8-1-3", "index": 3, "wpsdk": "8.1" }, { "name": "Emulator 8.1 720P 4.7 inch", "udid": "8-1-4", "index": 4, "wpsdk": "8.1" }, { "name": "Emulator 8.1 1080P 5.5 inch", "udid": "8-1-5", "index": 5, "wpsdk": "8.1" }, { "name": "Emulator 8.1 1080P 6 inch", "udid": "8-1-6", "index": 6, "wpsdk": "8.1" } ] }, "devices": [ { "name": "Device", "udid": 0, "index": 0, "wpsdk": null } ], "os": { "name": "Microsoft Windows 8.1 Enterprise N", "version": "6.3.9600" }, "powershell": { "enabled": true }, "selectedVisualStudio": { "version": "12.0", "registryKey": "HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\12.0_Config", "supported": true, "vcvarsall": "C:\\PROGRA~2\\MICROS~1.0\\VC\\VCVARS~1.BAT", "msbuildVersion": "12.0.31101.0", "wpsdk": null, "selected": true, "path": "C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\", "clrVersion": "v4.0.30319" }, "visualstudio": { "12.0": { "version": "12.0", "registryKey": "HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\12.0_Config", "supported": true, "vcvarsall": "C:\\PROGRA~2\\MICROS~1.0\\VC\\VCVARS~1.BAT", "msbuildVersion": "12.0.31101.0", "wpsdk": null, "selected": true, "path": "C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\", "clrVersion": "v4.0.30319" } } } {code} h5.Steps To Reproduce 1. Run {{ti info -t windows}} h5.Actual Result The output is not specific to Windows h5.Expected Result The output should be specific to Windows
Story points: 8