UNPKG

vodafone-station-cli

Version:

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

1,089 lines (887 loc) 34.4 kB
vodafone-station-cli ==================== Access your Arris TG3442DE or Technicolor CGA4322DE, CGA6444VF (aka Vodafone Station) from the comfort of the command line. ![ci-status](https://github.com/totev/vodafone-station-cli/actions/workflows/main.yml/badge.svg) [![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io) [![latest version](https://img.shields.io/github/v/release/totev/vodafone-station-cli.svg)](https://github.com/totev/vodafone-station-cli/releases) [![npm](https://img.shields.io/npm/v/vodafone-station-cli)](https://www.npmjs.com/package/vodafone-station-cli) <!-- toc --> * [Features](#features) * [Demo](#demo) * [Supported hardware](#supported-hardware) * [Software requirements](#software-requirements) * [Notes](#notes) * [Useful related projects:](#useful-related-projects) * [Running from source](#running-from-source) * [Usage](#usage) * [Commands](#commands) <!-- tocstop --> # Features * 🔐 **Secure HTTPS Support**: Automatic protocol detection with encrypted communication when supported * discover your vodafone station's IP in your local network * Retrieve the current docsis connection state and transform it into JSON * diagnose your docsis connection state to quickly detect abnormalities * restart your vodafone station * see your docsis connection information plotted in a web browser * share your docsis connection information with others via URL # Demo <p align="center"> ![](./usage.svg) </p> # Supported hardware Currently the following hardware/software is supported: - Arris TG3442DE running `AR01.02.068.11_092320_711.PC20.10`, `01.02.068.13.EURO.PC20` - Technicolor CGA4322DE running `1.0.9-IMS-KDG`, `2.0.17-IMS-KDG`, `3.0.41-IMS-KDG`, `19.3B80-3.5.12` - Technicolor CGA6444VF running firmware `19.3B57-1.0.41` <details> <summary>Docsis data format</summary> ```json { "downstream": [ { "channelId": "1", "channelType": "SC-QAM", "modulation": "256QAM", "powerLevel": 55.4, "lockStatus": "Locked", "snr": 35, "frequency": 114 }, { "channelId": "2", "channelType": "SC-QAM", "modulation": "256QAM", "powerLevel": 55, "lockStatus": "Locked", "snr": 36, "frequency": 130 }, { "channelId": "3", "channelType": "SC-QAM", "modulation": "256QAM", "powerLevel": 55.2, "lockStatus": "Locked", "snr": 36, "frequency": 138 }, { "channelId": "4", "channelType": "SC-QAM", "modulation": "256QAM", "powerLevel": 54.8, "lockStatus": "Locked", "snr": 36, "frequency": 146 }, { "channelId": "5", "channelType": "SC-QAM", "modulation": "256QAM", "powerLevel": 56.4, "lockStatus": "Locked", "snr": 38, "frequency": 602 }, { "channelId": "6", "channelType": "SC-QAM", "modulation": "256QAM", "powerLevel": 55.9, "lockStatus": "Locked", "snr": 37, "frequency": 618 }, { "channelId": "7", "channelType": "SC-QAM", "modulation": "256QAM", "powerLevel": 55.7, "lockStatus": "Locked", "snr": 37, "frequency": 626 }, { "channelId": "8", "channelType": "SC-QAM", "modulation": "256QAM", "powerLevel": 54.7, "lockStatus": "Locked", "snr": 37, "frequency": 642 }, { "channelId": "9", "channelType": "SC-QAM", "modulation": "256QAM", "powerLevel": 55.3, "lockStatus": "Locked", "snr": 37, "frequency": 650 }, { "channelId": "10", "channelType": "SC-QAM", "modulation": "256QAM", "powerLevel": 56.1, "lockStatus": "Locked", "snr": 38, "frequency": 658 }, { "channelId": "11", "channelType": "SC-QAM", "modulation": "256QAM", "powerLevel": 56.3, "lockStatus": "Locked", "snr": 38, "frequency": 666 }, { "channelId": "12", "channelType": "SC-QAM", "modulation": "256QAM", "powerLevel": 57.5, "lockStatus": "Locked", "snr": 39, "frequency": 674 }, { "channelId": "13", "channelType": "SC-QAM", "modulation": "256QAM", "powerLevel": 57.7, "lockStatus": "Locked", "snr": 38, "frequency": 682 }, { "channelId": "14", "channelType": "SC-QAM", "modulation": "256QAM", "powerLevel": 58.3, "lockStatus": "Locked", "snr": 39, "frequency": 690 }, { "channelId": "15", "channelType": "SC-QAM", "modulation": "64QAM", "powerLevel": 52.2, "lockStatus": "Locked", "snr": 34, "frequency": 698 }, { "channelId": "16", "channelType": "SC-QAM", "modulation": "64QAM", "powerLevel": 53.2, "lockStatus": "Locked", "snr": 35, "frequency": 706 }, { "channelId": "17", "channelType": "SC-QAM", "modulation": "64QAM", "powerLevel": 53.3, "lockStatus": "Locked", "snr": 35, "frequency": 714 }, { "channelId": "18", "channelType": "SC-QAM", "modulation": "64QAM", "powerLevel": 53.1, "lockStatus": "Locked", "snr": 34, "frequency": 722 }, { "channelId": "19", "channelType": "SC-QAM", "modulation": "64QAM", "powerLevel": 53.1, "lockStatus": "Locked", "snr": 35, "frequency": 730 }, { "channelId": "20", "channelType": "SC-QAM", "modulation": "64QAM", "powerLevel": 54.2, "lockStatus": "Locked", "snr": 35, "frequency": 738 }, { "channelId": "21", "channelType": "SC-QAM", "modulation": "64QAM", "powerLevel": 54.7, "lockStatus": "Locked", "snr": 35, "frequency": 746 }, { "channelId": "22", "channelType": "SC-QAM", "modulation": "64QAM", "powerLevel": 53.8, "lockStatus": "Locked", "snr": 35, "frequency": 754 }, { "channelId": "23", "channelType": "SC-QAM", "modulation": "64QAM", "powerLevel": 53.9, "lockStatus": "Locked", "snr": 35, "frequency": 762 }, { "channelId": "24", "channelType": "SC-QAM", "modulation": "64QAM", "powerLevel": 54.1, "lockStatus": "Locked", "snr": 34, "frequency": 770 }, { "channelId": "25", "channelType": "SC-QAM", "modulation": "64QAM", "powerLevel": 54.5, "lockStatus": "Locked", "snr": 35, "frequency": 778 }, { "channelId": "26", "channelType": "SC-QAM", "modulation": "64QAM", "powerLevel": 54.7, "lockStatus": "Locked", "snr": 34, "frequency": 786 }, { "channelId": "27", "channelType": "SC-QAM", "modulation": "64QAM", "powerLevel": 54.7, "lockStatus": "Locked", "snr": 35, "frequency": 794 }, { "channelId": "28", "channelType": "SC-QAM", "modulation": "64QAM", "powerLevel": 54.3, "lockStatus": "Locked", "snr": 34, "frequency": 802 }, { "channelId": "29", "channelType": "SC-QAM", "modulation": "64QAM", "powerLevel": 53.9, "lockStatus": "Locked", "snr": 35, "frequency": 810 }, { "channelId": "30", "channelType": "SC-QAM", "modulation": "64QAM", "powerLevel": 54.5, "lockStatus": "Locked", "snr": 35, "frequency": 818 }, { "channelId": "31", "channelType": "SC-QAM", "modulation": "64QAM", "powerLevel": 54.1, "lockStatus": "Locked", "snr": 35, "frequency": 826 }, { "channelId": "32", "channelType": "SC-QAM", "modulation": "64QAM", "powerLevel": 53.1, "lockStatus": "Locked", "snr": 34, "frequency": 834 } ], "downstreamOfdm": [ { "channelId": "33", "channelType": "OFDM", "modulation": "1024QAM", "powerLevel": 56.2, "lockStatus": "Locked", "snr": 40, "frequencyStart": 151, "frequencyEnd": 324 } ], "upstream": [ { "channelId": "3", "channelType": "SC-QAM", "modulation": "64QAM", "powerLevel": 111, "lockStatus": "ACTIVE", "snr": 0, "frequency": 37 }, { "channelId": "4", "channelType": "SC-QAM", "modulation": "64QAM", "powerLevel": 111, "lockStatus": "ACTIVE", "snr": 0, "frequency": 31 }, { "channelId": "1", "channelType": "SC-QAM", "modulation": "64QAM", "powerLevel": 111, "lockStatus": "ACTIVE", "snr": 0, "frequency": 51 }, { "channelId": "2", "channelType": "SC-QAM", "modulation": "64QAM", "powerLevel": 111, "lockStatus": "ACTIVE", "snr": 0, "frequency": 45 } ], "upstreamOfdma": [ { "channelId": "9", "channelType": "OFDMA", "modulation": "16_QAM", "powerLevel": 107, "lockStatus": "SUCCESS", "snr": 0, "frequencyStart": 29.8, "frequencyEnd": 64.8 } ], "time": "2021-10-23T13:06:23.988Z" } ``` </details> <details> <summary>Table printer format</summary> ``` Downstream +----+----------+------------+-------+-----------+-------------+-----+ | ID | Ch. Type | Modulation | Power | Frequency | Lock status | SNR | +----+----------+------------+-------+-----------+-------------+-----+ | 1 | SC-QAM | 256QAM | 55.1 | 114 | Locked | 35 | +----+----------+------------+-------+-----------+-------------+-----+ | 2 | SC-QAM | 256QAM | 54.7 | 130 | Locked | 35 | +----+----------+------------+-------+-----------+-------------+-----+ | 3 | SC-QAM | 256QAM | 54.8 | 138 | Locked | 36 | +----+----------+------------+-------+-----------+-------------+-----+ | 4 | SC-QAM | 256QAM | 54.6 | 146 | Locked | 36 | +----+----------+------------+-------+-----------+-------------+-----+ | 5 | SC-QAM | 256QAM | 57 | 602 | Locked | 38 | +----+----------+------------+-------+-----------+-------------+-----+ | 6 | SC-QAM | 256QAM | 57.3 | 618 | Locked | 39 | +----+----------+------------+-------+-----------+-------------+-----+ | 7 | SC-QAM | 256QAM | 57.7 | 626 | Locked | 38 | +----+----------+------------+-------+-----------+-------------+-----+ | 8 | SC-QAM | 256QAM | 58.5 | 642 | Locked | 39 | +----+----------+------------+-------+-----------+-------------+-----+ | 9 | SC-QAM | 256QAM | 58.3 | 650 | Locked | 39 | +----+----------+------------+-------+-----------+-------------+-----+ | 10 | SC-QAM | 256QAM | 58.3 | 658 | Locked | 39 | +----+----------+------------+-------+-----------+-------------+-----+ | 11 | SC-QAM | 256QAM | 58.1 | 666 | Locked | 38 | +----+----------+------------+-------+-----------+-------------+-----+ | 12 | SC-QAM | 256QAM | 58.8 | 674 | Locked | 39 | +----+----------+------------+-------+-----------+-------------+-----+ | 13 | SC-QAM | 256QAM | 58.8 | 682 | Locked | 39 | +----+----------+------------+-------+-----------+-------------+-----+ | 14 | SC-QAM | 256QAM | 59.4 | 690 | Locked | 39 | +----+----------+------------+-------+-----------+-------------+-----+ | 15 | SC-QAM | 64QAM | 53 | 698 | Locked | 35 | +----+----------+------------+-------+-----------+-------------+-----+ | 16 | SC-QAM | 64QAM | 54.1 | 706 | Locked | 35 | +----+----------+------------+-------+-----------+-------------+-----+ | 17 | SC-QAM | 64QAM | 54.2 | 714 | Locked | 34 | +----+----------+------------+-------+-----------+-------------+-----+ | 18 | SC-QAM | 64QAM | 53.8 | 722 | Locked | 35 | +----+----------+------------+-------+-----------+-------------+-----+ | 19 | SC-QAM | 64QAM | 53.9 | 730 | Locked | 35 | +----+----------+------------+-------+-----------+-------------+-----+ | 20 | SC-QAM | 64QAM | 54.9 | 738 | Locked | 35 | +----+----------+------------+-------+-----------+-------------+-----+ | 21 | SC-QAM | 64QAM | 55.3 | 746 | Locked | 35 | +----+----------+------------+-------+-----------+-------------+-----+ | 22 | SC-QAM | 64QAM | 54.5 | 754 | Locked | 35 | +----+----------+------------+-------+-----------+-------------+-----+ | 23 | SC-QAM | 64QAM | 54.5 | 762 | Locked | 35 | +----+----------+------------+-------+-----------+-------------+-----+ | 24 | SC-QAM | 64QAM | 54.5 | 770 | Locked | 35 | +----+----------+------------+-------+-----------+-------------+-----+ | 25 | SC-QAM | 64QAM | 55 | 778 | Locked | 35 | +----+----------+------------+-------+-----------+-------------+-----+ | 26 | SC-QAM | 64QAM | 55 | 786 | Locked | 35 | +----+----------+------------+-------+-----------+-------------+-----+ | 27 | SC-QAM | 64QAM | 54.9 | 794 | Locked | 34 | +----+----------+------------+-------+-----------+-------------+-----+ | 28 | SC-QAM | 64QAM | 54.4 | 802 | Locked | 35 | +----+----------+------------+-------+-----------+-------------+-----+ | 29 | SC-QAM | 64QAM | 54.1 | 810 | Locked | 35 | +----+----------+------------+-------+-----------+-------------+-----+ | 30 | SC-QAM | 64QAM | 54.5 | 818 | Locked | 35 | +----+----------+------------+-------+-----------+-------------+-----+ | 31 | SC-QAM | 64QAM | 54.5 | 826 | Locked | 35 | +----+----------+------------+-------+-----------+-------------+-----+ | 32 | SC-QAM | 64QAM | 53.7 | 834 | Locked | 34 | +----+----------+------------+-------+-----------+-------------+-----+ Downstream OFDM +----+----------+------------+-------+-----------+-------------+-----+ | ID | Ch. Type | Modulation | Power | Frequency | Lock status | SNR | +----+----------+------------+-------+-----------+-------------+-----+ | 33 | OFDM | 1024QAM | 56.1 | 151-324 | Locked | 39 | +----+----------+------------+-------+-----------+-------------+-----+ Upstream +----+----------+------------+-------+-----------+-------------+-----+ | ID | Ch. Type | Modulation | Power | Frequency | Lock status | SNR | +----+----------+------------+-------+-----------+-------------+-----+ | 3 | SC-QAM | 64QAM | 110.3 | 37 | Locked | 0 | +----+----------+------------+-------+-----------+-------------+-----+ | 4 | SC-QAM | 32QAM | 110.3 | 31 | Locked | 0 | +----+----------+------------+-------+-----------+-------------+-----+ | 1 | SC-QAM | 64QAM | 110.3 | 51 | Locked | 0 | +----+----------+------------+-------+-----------+-------------+-----+ | 2 | SC-QAM | 64QAM | 110.3 | 45 | Locked | 0 | +----+----------+------------+-------+-----------+-------------+-----+ Upstream OFDMA +----+----------+------------+-------+-----------+-------------+-----+ | ID | Ch. Type | Modulation | Power | Frequency | Lock status | SNR | +----+----------+------------+-------+-----------+-------------+-----+ | 9 | OFDMA | 16_QAM | 106.2 | 29.8-64.8 | SUCCESS | 0 | +----+----------+------------+-------+-----------+-------------+-----+ ``` </details> # Software requirements - Node.js 24.x or higher # Notes A full login and logout sequence is being done on every command execution. You can provide a password either by setting the environment variable `VODAFONE_ROUTER_PASSWORD` in your shell, in a local `.env` file or by using the `-p` flag. # Useful related projects: - https://github.com/nox-x/TG3442DE-Teardown - https://github.com/cbruegg/packetloss-watchdog - https://github.com/Fluepke/vodafone-station-exporter - https://github.com/bitwiseshiftleft/sjcl Cable connection information/meaning: - https://motorolacable.com/whitepapers/cable-connection The Diagnose module is based on the guidelines/values provided by Meister Voda: - https://www.vodafonekabelforum.de/viewtopic.php?t=32353 # Running from source Clone this repository, install the dependencies via *yarn* and run `./bin/dev help`. If you are interested in seeing a more verbose version of what is going on during execution, enable debug logging on a per command basis like so `env DEBUG=\* ./bin/dev docsis`. # Usage <!-- usage --> ```sh-session $ npm install -g vodafone-station-cli $ vodafone-station-cli COMMAND running command... $ vodafone-station-cli (--version) vodafone-station-cli/1.7.0 linux-x64 node-v24.13.0 $ vodafone-station-cli --help [COMMAND] USAGE $ vodafone-station-cli COMMAND ... ``` <!-- usagestop --> # Commands <!-- commands --> * [`vodafone-station-cli diagnose`](#vodafone-station-cli-diagnose) * [`vodafone-station-cli discover`](#vodafone-station-cli-discover) * [`vodafone-station-cli docsis`](#vodafone-station-cli-docsis) * [`vodafone-station-cli help [COMMAND]`](#vodafone-station-cli-help-command) * [`vodafone-station-cli host-exposure disable [ENTRIES]`](#vodafone-station-cli-host-exposure-disable-entries) * [`vodafone-station-cli host-exposure enable`](#vodafone-station-cli-host-exposure-enable) * [`vodafone-station-cli host-exposure get`](#vodafone-station-cli-host-exposure-get) * [`vodafone-station-cli host-exposure set FILE`](#vodafone-station-cli-host-exposure-set-file) * [`vodafone-station-cli plugins`](#vodafone-station-cli-plugins) * [`vodafone-station-cli plugins add PLUGIN`](#vodafone-station-cli-plugins-add-plugin) * [`vodafone-station-cli plugins:inspect PLUGIN...`](#vodafone-station-cli-pluginsinspect-plugin) * [`vodafone-station-cli plugins install PLUGIN`](#vodafone-station-cli-plugins-install-plugin) * [`vodafone-station-cli plugins link PATH`](#vodafone-station-cli-plugins-link-path) * [`vodafone-station-cli plugins remove [PLUGIN]`](#vodafone-station-cli-plugins-remove-plugin) * [`vodafone-station-cli plugins reset`](#vodafone-station-cli-plugins-reset) * [`vodafone-station-cli plugins uninstall [PLUGIN]`](#vodafone-station-cli-plugins-uninstall-plugin) * [`vodafone-station-cli plugins unlink [PLUGIN]`](#vodafone-station-cli-plugins-unlink-plugin) * [`vodafone-station-cli plugins update`](#vodafone-station-cli-plugins-update) * [`vodafone-station-cli restart`](#vodafone-station-cli-restart) ## `vodafone-station-cli diagnose` Diagnose the quality of the docsis connection. ``` USAGE $ vodafone-station-cli diagnose [-i <value>] [-p <value>] [-w] FLAGS -i, --ip=<value> [env: VODAFONE_ROUTER_IP] IP address of the modem/router (default: try 192.168.100.1 and 192.168.0.1) -p, --password=<value> router/modem password -w, --web review the docsis values in a webapp DESCRIPTION Diagnose the quality of the docsis connection. EXAMPLES $ vodafone-station-cli diagnose $ vodafone-station-cli diagnose --ip 192.168.100.1 ``` _See code: [src/commands/diagnose.ts](https://github.com/totev/vodafone-station-cli/blob/v1.7.0/src/commands/diagnose.ts)_ ## `vodafone-station-cli discover` Try to discover a cable modem in the network ``` USAGE $ vodafone-station-cli discover [-i <value>] FLAGS -i, --ip=<value> [env: VODAFONE_ROUTER_IP] IP address of the modem/router (default: try 192.168.100.1 and 192.168.0.1) DESCRIPTION Try to discover a cable modem in the network EXAMPLES $ vodafone-station-cli discover $ vodafone-station-cli discover --ip 192.168.100.1 ``` _See code: [src/commands/discover.ts](https://github.com/totev/vodafone-station-cli/blob/v1.7.0/src/commands/discover.ts)_ ## `vodafone-station-cli docsis` Get the current docsis status as reported by the modem in a JSON format. ``` USAGE $ vodafone-station-cli docsis [-f] [-i <value>] [-p <value>] [-w] FLAGS -f, --file write out a report file under ./reports/{CURRENT_UNIX_TIMESTAMP}_docsisStatus.json -i, --ip=<value> [env: VODAFONE_ROUTER_IP] IP address of the modem/router (default: try 192.168.100.1 and 192.168.0.1) -p, --password=<value> router/modem password -w, --web review the docsis values in a webapp DESCRIPTION Get the current docsis status as reported by the modem in a JSON format. EXAMPLES $ vodafone-station-cli docsis -p PASSWORD {JSON data} $ vodafone-station-cli docsis -p PASSWORD --ip 192.168.100.1 {JSON data} ``` _See code: [src/commands/docsis.ts](https://github.com/totev/vodafone-station-cli/blob/v1.7.0/src/commands/docsis.ts)_ ## `vodafone-station-cli help [COMMAND]` Display help for vodafone-station-cli. ``` USAGE $ vodafone-station-cli help [COMMAND...] [-n] ARGUMENTS [COMMAND...] Command to show help for. FLAGS -n, --nested-commands Include all nested commands in the output. DESCRIPTION Display help for vodafone-station-cli. ``` _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.37/src/commands/help.ts)_ ## `vodafone-station-cli host-exposure disable [ENTRIES]` Disable a set of host exposure entries ``` USAGE $ vodafone-station-cli host-exposure disable [ENTRIES...] [-i <value>] [-p <value>] ARGUMENTS [ENTRIES...] Host exposure entries to disable. Pass no names to disable every existing entry. FLAGS -i, --ip=<value> [env: VODAFONE_ROUTER_IP] IP address of the modem/router (default: try 192.168.100.1 and 192.168.0.1) -p, --password=<value> router/modem password 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...]] ``` _See code: [src/commands/host-exposure/disable.ts](https://github.com/totev/vodafone-station-cli/blob/v1.7.0/src/commands/host-exposure/disable.ts)_ ## `vodafone-station-cli host-exposure enable` Enable a set of host exposure entries ``` USAGE $ vodafone-station-cli host-exposure enable [-i <value>] [-p <value>] FLAGS -i, --ip=<value> [env: VODAFONE_ROUTER_IP] IP address of the modem/router (default: try 192.168.100.1 and 192.168.0.1) -p, --password=<value> router/modem password 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...]] ``` _See code: [src/commands/host-exposure/enable.ts](https://github.com/totev/vodafone-station-cli/blob/v1.7.0/src/commands/host-exposure/enable.ts)_ ## `vodafone-station-cli host-exposure get` Get the current IPV6 host exposure settings ``` USAGE $ vodafone-station-cli host-exposure get [-i <value>] [-p <value>] FLAGS -i, --ip=<value> [env: VODAFONE_ROUTER_IP] IP address of the modem/router (default: try 192.168.100.1 and 192.168.0.1) -p, --password=<value> router/modem password DESCRIPTION Get the current IPV6 host exposure settings EXAMPLES $ vodafone-station-cli host-exposure:get -p PASSWORD {JSON data} $ vodafone-station-cli host-exposure:get -p PASSWORD --ip 192.168.100.1 {JSON data} ``` _See code: [src/commands/host-exposure/get.ts](https://github.com/totev/vodafone-station-cli/blob/v1.7.0/src/commands/host-exposure/get.ts)_ ## `vodafone-station-cli host-exposure set FILE` Set the current IPV6 host exposure settings from a JSON file ``` USAGE $ vodafone-station-cli host-exposure set FILE [-i <value>] [-p <value>] ARGUMENTS FILE input JSON file FLAGS -i, --ip=<value> [env: VODAFONE_ROUTER_IP] IP address of the modem/router (default: try 192.168.100.1 and 192.168.0.1) -p, --password=<value> router/modem password 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> ``` _See code: [src/commands/host-exposure/set.ts](https://github.com/totev/vodafone-station-cli/blob/v1.7.0/src/commands/host-exposure/set.ts)_ ## `vodafone-station-cli plugins` List installed plugins. ``` USAGE $ vodafone-station-cli plugins [--json] [--core] FLAGS --core Show core plugins. GLOBAL FLAGS --json Format output as json. DESCRIPTION List installed plugins. EXAMPLES $ vodafone-station-cli plugins ``` _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/index.ts)_ ## `vodafone-station-cli plugins add PLUGIN` Installs a plugin into vodafone-station-cli. ``` USAGE $ vodafone-station-cli plugins add PLUGIN... [--json] [-f] [-h] [-s | -v] ARGUMENTS PLUGIN... Plugin to install. FLAGS -f, --force Force npm to fetch remote resources even if a local copy exists on disk. -h, --help Show CLI help. -s, --silent Silences npm output. -v, --verbose Show verbose npm output. GLOBAL FLAGS --json Format output as json. DESCRIPTION Installs a plugin into vodafone-station-cli. Uses npm to install plugins. Installation of a user-installed plugin will override a core plugin. Use the VODAFONE_STATION_CLI_NPM_LOG_LEVEL environment variable to set the npm loglevel. Use the VODAFONE_STATION_CLI_NPM_REGISTRY environment variable to set the npm registry. ALIASES $ vodafone-station-cli plugins add EXAMPLES Install a plugin from npm registry. $ vodafone-station-cli plugins add myplugin Install a plugin from a github url. $ vodafone-station-cli plugins add https://github.com/someuser/someplugin Install a plugin from a github slug. $ vodafone-station-cli plugins add someuser/someplugin ``` ## `vodafone-station-cli plugins:inspect PLUGIN...` Displays installation properties of a plugin. ``` USAGE $ vodafone-station-cli plugins inspect PLUGIN... ARGUMENTS PLUGIN... [default: .] Plugin to inspect. FLAGS -h, --help Show CLI help. -v, --verbose GLOBAL FLAGS --json Format output as json. DESCRIPTION Displays installation properties of a plugin. EXAMPLES $ vodafone-station-cli plugins inspect myplugin ``` _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/inspect.ts)_ ## `vodafone-station-cli plugins install PLUGIN` Installs a plugin into vodafone-station-cli. ``` USAGE $ vodafone-station-cli plugins install PLUGIN... [--json] [-f] [-h] [-s | -v] ARGUMENTS PLUGIN... Plugin to install. FLAGS -f, --force Force npm to fetch remote resources even if a local copy exists on disk. -h, --help Show CLI help. -s, --silent Silences npm output. -v, --verbose Show verbose npm output. GLOBAL FLAGS --json Format output as json. DESCRIPTION Installs a plugin into vodafone-station-cli. Uses npm to install plugins. Installation of a user-installed plugin will override a core plugin. Use the VODAFONE_STATION_CLI_NPM_LOG_LEVEL environment variable to set the npm loglevel. Use the VODAFONE_STATION_CLI_NPM_REGISTRY environment variable to set the npm registry. ALIASES $ vodafone-station-cli plugins add EXAMPLES Install a plugin from npm registry. $ vodafone-station-cli plugins install myplugin Install a plugin from a github url. $ vodafone-station-cli plugins install https://github.com/someuser/someplugin Install a plugin from a github slug. $ vodafone-station-cli plugins install someuser/someplugin ``` _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/install.ts)_ ## `vodafone-station-cli plugins link PATH` Links a plugin into the CLI for development. ``` USAGE $ vodafone-station-cli plugins link PATH [-h] [--install] [-v] ARGUMENTS PATH [default: .] path to plugin FLAGS -h, --help Show CLI help. -v, --verbose --[no-]install Install dependencies after linking the plugin. DESCRIPTION Links a plugin into the CLI for development. Installation of a linked plugin will override a user-installed or core plugin. e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' command will override the user-installed or core plugin implementation. This is useful for development work. EXAMPLES $ vodafone-station-cli plugins link myplugin ``` _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/link.ts)_ ## `vodafone-station-cli plugins remove [PLUGIN]` Removes a plugin from the CLI. ``` USAGE $ vodafone-station-cli plugins remove [PLUGIN...] [-h] [-v] ARGUMENTS [PLUGIN...] plugin to uninstall FLAGS -h, --help Show CLI help. -v, --verbose DESCRIPTION Removes a plugin from the CLI. ALIASES $ vodafone-station-cli plugins unlink $ vodafone-station-cli plugins remove EXAMPLES $ vodafone-station-cli plugins remove myplugin ``` ## `vodafone-station-cli plugins reset` Remove all user-installed and linked plugins. ``` USAGE $ vodafone-station-cli plugins reset [--hard] [--reinstall] FLAGS --hard Delete node_modules and package manager related files in addition to uninstalling plugins. --reinstall Reinstall all plugins after uninstalling. ``` _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/reset.ts)_ ## `vodafone-station-cli plugins uninstall [PLUGIN]` Removes a plugin from the CLI. ``` USAGE $ vodafone-station-cli plugins uninstall [PLUGIN...] [-h] [-v] ARGUMENTS [PLUGIN...] plugin to uninstall FLAGS -h, --help Show CLI help. -v, --verbose DESCRIPTION Removes a plugin from the CLI. ALIASES $ vodafone-station-cli plugins unlink $ vodafone-station-cli plugins remove EXAMPLES $ vodafone-station-cli plugins uninstall myplugin ``` _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/uninstall.ts)_ ## `vodafone-station-cli plugins unlink [PLUGIN]` Removes a plugin from the CLI. ``` USAGE $ vodafone-station-cli plugins unlink [PLUGIN...] [-h] [-v] ARGUMENTS [PLUGIN...] plugin to uninstall FLAGS -h, --help Show CLI help. -v, --verbose DESCRIPTION Removes a plugin from the CLI. ALIASES $ vodafone-station-cli plugins unlink $ vodafone-station-cli plugins remove EXAMPLES $ vodafone-station-cli plugins unlink myplugin ``` ## `vodafone-station-cli plugins update` Update installed plugins. ``` USAGE $ vodafone-station-cli plugins update [-h] [-v] FLAGS -h, --help Show CLI help. -v, --verbose DESCRIPTION Update installed plugins. ``` _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/update.ts)_ ## `vodafone-station-cli restart` restart the modem/router ``` USAGE $ vodafone-station-cli restart [-i <value>] [-p <value>] FLAGS -i, --ip=<value> [env: VODAFONE_ROUTER_IP] IP address of the modem/router (default: try 192.168.100.1 and 192.168.0.1) -p, --password=<value> router/modem password DESCRIPTION restart the modem/router EXAMPLES $ vodafone-station-cli restart $ vodafone-station-cli restart --ip 192.168.100.1 ``` _See code: [src/commands/restart.ts](https://github.com/totev/vodafone-station-cli/blob/v1.7.0/src/commands/restart.ts)_ <!-- commandsstop -->