Comments (6)
可以具体地说一下应用场景吗?
from nwinfo.
您好,非常抱歉这个迟到了近三个月的回复,
该需求被提出时,正值我正在开发一个程序,需要调用nwinfo获取的相关信息以进行自动化操作
然而nwinfo目前仅提供了标准化的文本输出,并未提供一些易于二次开发的文本输出格式,例如XML或者JSON,方便其他程序调用时的文本解析
所以我想能否提供一些赞助来支援您更好地开发出此功能,例如额外增加一个 --format JSON or XML 这样的相对支持,以将程序所获得的结果以JSON或XML格式输出到控制台
from nwinfo.
查了一下,这个项目就可以把硬件报告以 JSON/XML/YAML 等方式导出。我好像没必要重新造轮子了。
https://github.com/cavaliercoder/sysinv
from nwinfo.
该项目并未发布可执行二进制文件,且不确定能否稳定兼容现有开发进度,所以可能仍需您的帮助,作为报酬可以付费
from nwinfo.
可以测试一下了:https://github.com/a1ive/nwinfo/releases/tag/latest
目前支持 JSON
和 YAML
格式。
使用 --format=json
或 --format=yaml
来指定输出格式 (默认为 YAML
)。
使用 --output=
指定输出文件 (默认为 stdout
)。
示例:
nwinfo.exe --format=json --output=report.json --sys --disk --smbios --net --pci
from nwinfo.
感谢您的辛苦付出,这个issue将会被关闭,辛苦
from nwinfo.
Related Issues (20)
- Help HOT 1
- XP 不支持 GetThreadGroupAffinity
- 检测 Windows 版本
- 列出 UEFI 启动项 HOT 2
- Switch to unicode character set
- 获取 CPU 核心温度/功耗 HOT 3
- IP_ADAPTER_ADDRESSES 在不同版本 Windows 下定义不同 HOT 2
- [feature request] high DPI support HOT 1
- Incorrect escape character for error message HOT 1
- Get / Set monitor's brightness value HOT 2
- Get the size of pagefile
- help HOT 5
- U盘或其它设备被占用、拔出后,还不能实时从设备列表中移除原设备信息显示 HOT 2
- 自定义窗口起始位置 HOT 1
- 隐藏敏感数据
- 获取 CPU TDP / PL1 / PL2 HOT 2
- Request to take a disk number as parameter in --disk command in CLI HOT 9
- 支持输出为 Lua table
- 显示更多磁盘/分区信息
- 获取 bios/uefi memory map
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nwinfo.