UNPKG

vodafone-station-cli

Version:

Access your Vodafone Station from the comfort of the command line.

362 lines 10.6 kB
{ "commands": { "diagnose": { "aliases": [], "args": {}, "description": "Diagnose the quality of the docsis connection.", "examples": [ "$ vodafone-station-cli diagnose", "$ vodafone-station-cli diagnose --ip 192.168.100.1" ], "flags": { "ip": { "char": "i", "description": "IP address of the modem/router (default: try 192.168.100.1 and 192.168.0.1)", "env": "VODAFONE_ROUTER_IP", "name": "ip", "hasDynamicHelp": false, "multiple": false, "type": "option" }, "password": { "char": "p", "description": "router/modem password", "name": "password", "hasDynamicHelp": false, "multiple": false, "type": "option" }, "web": { "char": "w", "description": "review the docsis values in a webapp", "name": "web", "allowNo": false, "type": "boolean" } }, "hasDynamicHelp": false, "hiddenAliases": [], "id": "diagnose", "pluginAlias": "vodafone-station-cli", "pluginName": "vodafone-station-cli", "pluginType": "core", "strict": true, "isESM": false, "relativePath": [ "dist", "commands", "diagnose.js" ] }, "discover": { "aliases": [], "args": {}, "description": "Try to discover a cable modem in the network", "examples": [ "$ vodafone-station-cli discover", "$ vodafone-station-cli discover --ip 192.168.100.1" ], "flags": { "ip": { "char": "i", "description": "IP address of the modem/router (default: try 192.168.100.1 and 192.168.0.1)", "env": "VODAFONE_ROUTER_IP", "name": "ip", "hasDynamicHelp": false, "multiple": false, "type": "option" } }, "hasDynamicHelp": false, "hiddenAliases": [], "id": "discover", "pluginAlias": "vodafone-station-cli", "pluginName": "vodafone-station-cli", "pluginType": "core", "strict": true, "isESM": false, "relativePath": [ "dist", "commands", "discover.js" ] }, "docsis": { "aliases": [], "args": {}, "description": "Get the current docsis status as reported by the modem in a JSON format.", "examples": [ "$ vodafone-station-cli docsis -p PASSWORD\n{JSON data}\n", "$ vodafone-station-cli docsis -p PASSWORD --ip 192.168.100.1\n{JSON data}\n" ], "flags": { "file": { "char": "f", "description": "write out a report file under ./reports/{CURRENT_UNIX_TIMESTAMP}_docsisStatus.json", "name": "file", "allowNo": false, "type": "boolean" }, "ip": { "char": "i", "description": "IP address of the modem/router (default: try 192.168.100.1 and 192.168.0.1)", "env": "VODAFONE_ROUTER_IP", "name": "ip", "hasDynamicHelp": false, "multiple": false, "type": "option" }, "password": { "char": "p", "description": "router/modem password", "name": "password", "hasDynamicHelp": false, "multiple": false, "type": "option" }, "web": { "char": "w", "description": "review the docsis values in a webapp", "name": "web", "allowNo": false, "type": "boolean" } }, "hasDynamicHelp": false, "hiddenAliases": [], "id": "docsis", "pluginAlias": "vodafone-station-cli", "pluginName": "vodafone-station-cli", "pluginType": "core", "strict": true, "isESM": false, "relativePath": [ "dist", "commands", "docsis.js" ] }, "restart": { "aliases": [], "args": {}, "description": "restart the modem/router", "examples": [ "$ vodafone-station-cli restart", "$ vodafone-station-cli restart --ip 192.168.100.1" ], "flags": { "ip": { "char": "i", "description": "IP address of the modem/router (default: try 192.168.100.1 and 192.168.0.1)", "env": "VODAFONE_ROUTER_IP", "name": "ip", "hasDynamicHelp": false, "multiple": false, "type": "option" }, "password": { "char": "p", "description": "router/modem password", "name": "password", "hasDynamicHelp": false, "multiple": false, "type": "option" } }, "hasDynamicHelp": false, "hiddenAliases": [], "id": "restart", "pluginAlias": "vodafone-station-cli", "pluginName": "vodafone-station-cli", "pluginType": "core", "strict": true, "isESM": false, "relativePath": [ "dist", "commands", "restart.js" ] }, "host-exposure:disable": { "aliases": [], "args": { "entries": { "description": "Host exposure entries to disable. Pass no names to disable every existing entry.", "name": "entries", "required": false } }, "description": "Disable a set of host exposure entries", "examples": [ "$ vodafone-station-cli host-exposure:disable -p PASSWORD [ENTRY NAME | [ENTRY NAME...]]", "$ vodafone-station-cli host-exposure:disable -p PASSWORD --ip 192.168.100.1 [ENTRY NAME | [ENTRY NAME...]]" ], "flags": { "ip": { "char": "i", "description": "IP address of the modem/router (default: try 192.168.100.1 and 192.168.0.1)", "env": "VODAFONE_ROUTER_IP", "name": "ip", "hasDynamicHelp": false, "multiple": false, "type": "option" }, "password": { "char": "p", "description": "router/modem password", "name": "password", "hasDynamicHelp": false, "multiple": false, "type": "option" } }, "hasDynamicHelp": false, "hiddenAliases": [], "id": "host-exposure:disable", "pluginAlias": "vodafone-station-cli", "pluginName": "vodafone-station-cli", "pluginType": "core", "strict": false, "isESM": false, "relativePath": [ "dist", "commands", "host-exposure", "disable.js" ] }, "host-exposure:enable": { "aliases": [], "args": {}, "description": "Enable a set of host exposure entries", "examples": [ "$ vodafone-station-cli host-exposure:enable -p PASSWORD [ENTRY NAME | [ENTRY NAME...]]", "$ vodafone-station-cli host-exposure:enable -p PASSWORD --ip 192.168.100.1 [ENTRY NAME | [ENTRY NAME...]]" ], "flags": { "ip": { "char": "i", "description": "IP address of the modem/router (default: try 192.168.100.1 and 192.168.0.1)", "env": "VODAFONE_ROUTER_IP", "name": "ip", "hasDynamicHelp": false, "multiple": false, "type": "option" }, "password": { "char": "p", "description": "router/modem password", "name": "password", "hasDynamicHelp": false, "multiple": false, "type": "option" } }, "hasDynamicHelp": false, "hiddenAliases": [], "id": "host-exposure:enable", "pluginAlias": "vodafone-station-cli", "pluginName": "vodafone-station-cli", "pluginType": "core", "strict": false, "isESM": false, "relativePath": [ "dist", "commands", "host-exposure", "enable.js" ] }, "host-exposure:get": { "aliases": [], "args": {}, "description": "Get the current IPV6 host exposure settings", "examples": [ "$ vodafone-station-cli host-exposure:get -p PASSWORD\n{JSON data}\n", "$ vodafone-station-cli host-exposure:get -p PASSWORD --ip 192.168.100.1\n{JSON data}\n" ], "flags": { "ip": { "char": "i", "description": "IP address of the modem/router (default: try 192.168.100.1 and 192.168.0.1)", "env": "VODAFONE_ROUTER_IP", "name": "ip", "hasDynamicHelp": false, "multiple": false, "type": "option" }, "password": { "char": "p", "description": "router/modem password", "name": "password", "hasDynamicHelp": false, "multiple": false, "type": "option" } }, "hasDynamicHelp": false, "hiddenAliases": [], "id": "host-exposure:get", "pluginAlias": "vodafone-station-cli", "pluginName": "vodafone-station-cli", "pluginType": "core", "strict": true, "isESM": false, "relativePath": [ "dist", "commands", "host-exposure", "get.js" ] }, "host-exposure:set": { "aliases": [], "args": { "file": { "description": "input JSON file", "name": "file", "required": true } }, "description": "Set the current IPV6 host exposure settings from a JSON file", "examples": [ "$ vodafone-station-cli host-exposure:set -p PASSWORD <FILE>", "$ vodafone-station-cli host-exposure:set -p PASSWORD --ip 192.168.100.1 <FILE>" ], "flags": { "ip": { "char": "i", "description": "IP address of the modem/router (default: try 192.168.100.1 and 192.168.0.1)", "env": "VODAFONE_ROUTER_IP", "name": "ip", "hasDynamicHelp": false, "multiple": false, "type": "option" }, "password": { "char": "p", "description": "router/modem password", "name": "password", "hasDynamicHelp": false, "multiple": false, "type": "option" } }, "hasDynamicHelp": false, "hiddenAliases": [], "id": "host-exposure:set", "pluginAlias": "vodafone-station-cli", "pluginName": "vodafone-station-cli", "pluginType": "core", "strict": true, "isESM": false, "relativePath": [ "dist", "commands", "host-exposure", "set.js" ] } }, "version": "1.7.0" }