os-network-tools
v1.0.5
Published
Get information about OS and Network
Downloads
3
Maintainers
Readme
WELCOME TO OS NETWORK TOOLS:
This is a Command Line Program
Options:
[1] : Get Operating System Informations
[2] : Get Network Informations
Flags:
output-json : Output result into a JSON File output-xml : Output result into a XML File
Important:
Flags are optional, default output into stdout
Flags must be specified as second arguments after specifying options
Examples
node ./node_modules/os-network-tools/index.js --help (-h)
Output help menu
node ./node_modules/os-network-tools/index.js 1
Output Operating System Informations into your running terminal
node ./node_modules/os-network-tools/index.js 1 output-json
Ouput Operating System Informations into a JSON file
node ./node_modules/os-network-tools/index.js 1 output-xml
Ouput Operating System Informations into a XML file
node ./node_modules/os-network-tools/index.js 2
Output Network Informations into your running terminal
node ./node_modules/os-network-tools/index.js 2 output-json
Ouput Network Informations into a JSON file
node ./node_modules/os-network-tools/index.js 2 output-xml
Ouput Network Informations into a XML file