Add Get PCI Devices for Windows and Linux, Rename White Color
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:
-
For Windows: Win32_PNPEntity and to query it: StackExchange/wmi pkg
-
For Linux: jaypipes/ghw pkg
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.
Yeah a verbose flag makes sense to me. Basically wanted to avoid the output taking up the entire screen xD
@DarthBenro008 @aryan9600 Please review it, and let me know if there are any changes.