ptcl-cli

2.7.0 • Public • Published


DOWNLOADS Learn VSCode Follow @MrAhmadAwais on Twitter

Control PTCL router via command line

ptcl-cli

  • 🗃️ Get all data on Speed: download, upload, SNR, Attainable speeds.
  • 🤣 Screenshot xDSL stats to the desktop for quick filing a complaint.
  • 🤯 Run in both headless or non-headless browser modes.
  • 📟 Store user, pass configurations securely.
  • 👐 Automagically reboot your PTCL router.

📟

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

Package Sidebar

Install

npm i ptcl-cli

Weekly Downloads

0

Version

2.7.0

License

MIT

Unpacked Size

32.4 kB

Total Files

8

Last publish

Collaborators

  • ahmadawais