Skip to content

cli needs a command that outputs nicely formatted environment information for debugging #1001

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
stephenfeather opened this issue Oct 3, 2015 · 1 comment

Comments

@stephenfeather
Copy link
Contributor

Summary

Having just posted an issue and realized just how ugly the output from --log trace is and how difficult it is to read that in an issue (yet important information for debugging), believe that a cli command that would show environments, 3rd party tooling version information, nativescript versions, etc in a way that is compact and easy enough to cut/paste into issues and be readable.

It be nice to get the system information portion of --log trace

System information:
{ procInfo: 'nativescript/1.4.0-non-ci',
  platform: 'darwin',
  os: 'Darwin Stephens-iMac.local 15.0.0 Darwin Kernel Version 15.0.0: Wed Aug 26 16:57:32 PDT 2015; root:xnu-3247.1.106~1/RELEASE_X86_64 x86_64\n',
  shell: '/bin/bash',
  dotNetVer: null,
  procArch: 'x64',
  nodeVer: 'v0.12.6',
  npmVer: '2.13.2',
  javaVer: '1.8.0',
  nodeGypVer: null,
  xcodeVer: 'Xcode 7.0.1\nBuild version 7A1001\n',
  itunesInstalled: true,
  cocoapodVer: '0.38.2\n',
  adbVer: 'Android Debug Bridge version 1.0.32',
  androidInstalled: true,
  monoVer: '4.2.0',
  gitVer: '2.6.0',
  gradleVer: '2.7',
  javacVersion: '1.8.0_51' }

without sifting through the entire console.

@ligaz
Copy link

ligaz commented Feb 26, 2016

Merging this issue into #54

@ligaz ligaz closed this as completed Feb 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants