Git Product home page Git Product logo

Comments (6)

a1ive avatar a1ive commented on June 23, 2024

可以具体地说一下应用场景吗?

from nwinfo.

older-fox avatar older-fox commented on June 23, 2024

您好,非常抱歉这个迟到了近三个月的回复,
该需求被提出时,正值我正在开发一个程序,需要调用nwinfo获取的相关信息以进行自动化操作
然而nwinfo目前仅提供了标准化的文本输出,并未提供一些易于二次开发的文本输出格式,例如XML或者JSON,方便其他程序调用时的文本解析
所以我想能否提供一些赞助来支援您更好地开发出此功能,例如额外增加一个 --format JSON or XML 这样的相对支持,以将程序所获得的结果以JSON或XML格式输出到控制台

from nwinfo.

a1ive avatar a1ive commented on June 23, 2024

查了一下,这个项目就可以把硬件报告以 JSON/XML/YAML 等方式导出。我好像没必要重新造轮子了。
https://github.com/cavaliercoder/sysinv

from nwinfo.

older-fox avatar older-fox commented on June 23, 2024

该项目并未发布可执行二进制文件,且不确定能否稳定兼容现有开发进度,所以可能仍需您的帮助,作为报酬可以付费

from nwinfo.

a1ive avatar a1ive commented on June 23, 2024

可以测试一下了:https://github.com/a1ive/nwinfo/releases/tag/latest
目前支持 JSONYAML 格式。
使用 --format=json--format=yaml 来指定输出格式 (默认为 YAML)。
使用 --output= 指定输出文件 (默认为 stdout)。
示例:

nwinfo.exe --format=json --output=report.json --sys --disk --smbios --net --pci

from nwinfo.

older-fox avatar older-fox commented on June 23, 2024

感谢您的辛苦付出,这个issue将会被关闭,辛苦

from nwinfo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.