ahmadawais / ptcl-cli

๐Ÿ“Ÿ Control PTCL router via command line. [Reboot, Get Stats, Screenshot xDSL for complaints].
https://twitter.com/MrAhmadAwais/
MIT License
11 stars 2 forks source link
cli command-line-tool ptcl-cli ptcl-router


[![DOWNLOADS](https://img.shields.io/npm/dt/ptcl-cli?label=DOWNLOADS%20%20โฏ&colorA=537038&colorB=537038&style=flat)](https://www.npmjs.com/package/ptcl-cli) [![Learn VSCode](https://img.shields.io/badge/-VSCODE.pro%20%E2%86%92-gray.svg?colorB=537038&style=flat)](https://VSCode.pro/?utm_source=GitHubFOSS) [![Follow @MrAhmadAwais on Twitter](https://img.shields.io/badge/FOLLOW%20@MRAHMADAWAIS%20%E2%86%92-gray.svg?colorA=537038&colorB=537038&style=flat)](https://twitter.com/mrahmadawais/) Control PTCL router via command line

ptcl-cli


๐Ÿ“Ÿ

Install

npm install -g ptcl-cli


โš™๏ธ

Usage

ptcl-cli
ptcl-cli config       # Configure and store user/pass in a safe location.
ptcl-cli --reboot     # Reboot the router.
ptcl-cli -r           # Reboot the router.
ptcl-cli --headless   # Headless mode.
ptcl-cli -x           # Headless mode.
ptcl-cli --data       # Print the stats data.
ptcl-cli -d           # Print the stats data.
ptcl-cli --screenshot # Screenshot xDSL Stats for filing a complaint.
ptcl-cli -s           # Screenshot xDSL Stats for filing a complaint.
ptcl-cli -xd          # 1) Headless mode 2) Print the stats data.

โš™๏ธ


๐Ÿ“

Changelog

โฏ Read the changelog here โ†’


KEY: ๐Ÿ“ฆ NEW, ๐Ÿ‘Œ IMPROVE, ๐Ÿ› FIX, ๐Ÿ“– DOC, ๐Ÿš€ RELEASE, and ๐Ÿค– TEST

I use Emoji-log, you should try it and simplify your git commits.


๐Ÿ“ƒ

License & Conduct


๐Ÿ™Œ

Connect

GitHub @AhmadAwais (follow) To stay up to date on free & open-source software

Twitter @MrAhmadAwais (follow) To get #OneDevMinute daily hot tips & trolls

YouTube AhmadAwais (subscribe) To tech talks & #OneDevMinute videos

Blog: AhmadAwais.com (read) In-depth & long form technical articles

LinkedIn @MrAhmadAwais (connect) On the LinkedIn profile y'all


๐Ÿ‘Œ

Sponsor

Me (Ahmad Awais) and my incredible wife (Maedah Batool) are two engineers who fell in love with open source and then with each other. You can read more about me here. If you or your company use any of my projects or like what Iโ€™m doing then consider backing me. I'm in this for the long run. An open-source developer advocate.


Or you can back me by checking out my super fun video course. As developers, we spend over 200 Hrs/month with our code editors โ€” it's only fair to learn your next editor deeply. This course will save you 15-20 hours every month. Become a VSCode Power User โ†’


VSCODE


VSCode Ahmad on Twitter