termiboard icon indicating copy to clipboard operation
termiboard copied to clipboard

Add Get PCI Devices for Windows and Linux, Rename White Color

Open sjchoure opened this issue 5 years ago • 3 comments

Partially Fixes: ls* Family Issue

What's new

  • [x] Added Get PCI Devices Function For Windows and Linux
  • [x] Renamed White Color to match other colors name

Usage

To see the output of PCI Devices: do as ./termiboard.exe -pci-devices

Reference Docs:

  1. For Windows: Win32_PNPEntity and to query it: StackExchange/wmi pkg

  2. For Linux: jaypipes/ghw pkg

sjchoure avatar Oct 02 '20 15:10 sjchoure

I had to do some research, I feel this could be more optimised, we need to come up some kind of priority class to display only some devices info first, this full list could be a accessed by a separate flag command. @aryan9600 i don't think a table would help in listing out PCI devices.

DarthBenro008 avatar Oct 02 '20 20:10 DarthBenro008

Yeah a verbose flag makes sense to me. Basically wanted to avoid the output taking up the entire screen xD

aryan9600 avatar Oct 02 '20 20:10 aryan9600

@DarthBenro008 @aryan9600 Please review it, and let me know if there are any changes.

sjchoure avatar Oct 04 '20 07:10 sjchoure