{"id":1774,"date":"2016-10-01T16:36:36","date_gmt":"2016-10-01T11:36:36","guid":{"rendered":"https:\/\/ahmadawais.com\/?p=1774"},"modified":"2016-10-04T09:57:43","modified_gmt":"2016-10-04T04:57:43","slug":"ptcl-cli-control-ptcl-routers-via-command-line","status":"publish","type":"post","link":"https:\/\/ahmadawais.com\/ptcl-cli-control-ptcl-routers-via-command-line\/","title":{"rendered":"Introducing PTCL CLI: Control PTCL Routers via Command Line"},"content":{"rendered":"<p style=\"text-align: left;\">This post is meant for the local community.<\/p>\n<p>PTCL is the biggest local internet\u00a0service provider here in Lahore. I have been using PTCL&#8217;s internet\u00a0since the\u00a0beginning. While there are several other wireless internet providers,\u00a0in my experience there is simply no better alternative to PTCL at the time of writing this post.<\/p>\n<\/section>\n<div class=\"postcontents full dark\">\n<div class=\"wrapper\">\n<h3 id=\"workflow-is-my-thing\">Workflow Is My Thing!<a href=\"#workflow-is-my-thing\" class=\"heading-link\">#<\/a><\/h3>\n<p>If you read this blog then you know that I am a workflow optimist. I love building professional workflows via automation scripts mostly related to the\u00a0command line or web development. Being a command line junkie and all that, I find it very cumbersome to have to log in simply to reboot the PTCL router.<\/p>\n<p>I wanted to use the\u00a0command line to\u00a0play around with the router, for things like rebooting, keeping a check at the line parameters and even calculating the\u00a0signal to noise ratio (SNR). I was earlier looking into phatomJS for building something like that, but\u00a0one thing led to another and today I got some time to finally open source a simple to use command line interface for PTCL routers.<\/p>\n<\/div>\n<\/div>\n<section class=\"postcontents wrapper\">\n<h2 id=\"introducing-ptcl-cli\">Introducing PTCL CLI<a href=\"#introducing-ptcl-cli\" class=\"heading-link\">#<\/a><\/h2>\n<p style=\"text-align: left;\">\n<div class=\"alert grey\">\n<p style=\"text-align: center;\"><a href=\"https:\/\/github.com\/ahmadawais\/PTCL-CLI\" target=\"_blank\">\u26a1\ufe0f GITHUB: \u2605 19 \u2442 6 \u2192<\/a><\/p>\n<\/div>\n<div class=\"wt_content\">\n<div class=\"wt_content___second wt_post--animate wt_post--animate_in\" style=\"visibility: visible;\">\n<p><code>ptcli<\/code> is a bash CLI for PTCL routers. An intuitive PTCL-CLI to control PTCL routers via command line.<\/p>\n<\/section>\n<div class=\"postcontents full\">\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/FHLLPAe.png\" alt=\"PTCL-CLI\" \/><\/p>\n<\/div>\n<section class=\"postcontents wrapper\">\n<p>You can use <code>ptcli<\/code> to perform following actions via command line<\/p>\n<ul>\n<li>Reboot the router<\/li>\n<li>Check Router&#8217;s system info<\/li>\n<li>Check Router&#8217;s uptime<\/li>\n<li>Check ADSL info<\/li>\n<li>Check &amp; calculate ADSL SNR<\/li>\n<\/ul>\n<h2 id=\"installation\"><img decoding=\"async\" class=\"emoji\" draggable=\"false\" src=\"https:\/\/s.w.org\/images\/core\/emoji\/2\/svg\/26a1.svg\" alt=\"\u26a1\ufe0f\" \/> Installation<a href=\"#installation\" class=\"heading-link\">#<\/a><\/h2>\n<p>Open command line terminal (I prefer iTerm2) and run the following command.<\/p>\n<pre><code class=\"language-bash\">sudo wget -qO ptcli https:\/\/git.io\/vPtPS &amp;&amp; sudo chmod +x .\/ptcli &amp;&amp; sudo install .\/ptcli \/usr\/local\/bin\/ptcli<\/code><\/pre>\n<p>This command will perform the following actions:<\/p>\n<ul>\n<li>Use sudo permissions<\/li>\n<li>Use wget to download <code>PTCL-CLI<\/code> and rename it to <code>ptcli<\/code><\/li>\n<li>Make the <code>ptcli<\/code> executable<\/li>\n<li>Install <code>ptcli<\/code> inside \/usr\/local\/bin\/ folder.<\/li>\n<\/ul>\n<h2 id=\"usage\"><img decoding=\"async\" class=\"emoji\" draggable=\"false\" src=\"https:\/\/s.w.org\/images\/core\/emoji\/2\/svg\/1f64c.svg\" alt=\"?\" \/> Usage<a href=\"#usage\" class=\"heading-link\">#<\/a><\/h2>\n<p>\ufe0f Usage: ptcli <code>[ -c |--config ]<\/code>, <code>[ -h | help ]<\/code> \ufe0f &#8211; <code>[ -h | help ]<\/code> Use help<\/p>\n<ul>\n<li><code>[ -c | --config ]<\/code> Use config data, if so configure the three variables &#8216;host_address&#8217;, &#8216;username&#8217;, and &#8216;password<\/li>\n<li><code>[ -r | --reboot ]<\/code> Quick reboot, dependant on &#8216;&#8211;config&#8217; param.&#8221;<\/li>\n<\/ul>\n<p>Here&#8217;s a complimentary GIF.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/TzeAw5B.gif\" alt=\"PTCL-CLI GIF\" \/><\/p>\n<h2 id=\"why-was-ptcl-cli-created\"><img decoding=\"async\" class=\"emoji\" draggable=\"false\" src=\"https:\/\/s.w.org\/images\/core\/emoji\/2\/svg\/1f914.svg\" alt=\"?\" \/> Why was PTCL CLI Created?<a href=\"#why-was-ptcl-cli-created\" class=\"heading-link\">#<\/a><\/h2>\n<p>I am a command line junkie and it is too much work for me to go sign in and reboot the router or get the line parameters when I need to. So, I built this CLI and now with a bunch of aliases, I am able to perform these actions within a single command.<\/p>\n<h2 id=\"environment\"><img decoding=\"async\" class=\"emoji\" draggable=\"false\" src=\"https:\/\/s.w.org\/images\/core\/emoji\/2\/svg\/26a1.svg\" alt=\"\u26a1\ufe0f\" \/> Environment<a href=\"#environment\" class=\"heading-link\">#<\/a><\/h2>\n<p>I have built this CLI using Mac. It needs to be run on Bash or ZSH based shell.<\/p>\n<p><code>Beta software! Use at your own risk.<\/code><\/p>\n<h2 id=\"changelog\"><img decoding=\"async\" class=\"emoji\" draggable=\"false\" src=\"https:\/\/s.w.org\/images\/core\/emoji\/2\/svg\/2139.svg\" alt=\"\u2139\ufe0f\" \/> Changelog<a href=\"#changelog\" class=\"heading-link\">#<\/a><\/h2>\n<h3 id=\"1-0-0-2016-10-01\">1.0.0 (2016-10-01)<a href=\"#1-0-0-2016-10-01\" class=\"heading-link\">#<\/a><\/h3>\n<ul>\n<li>First version<\/li>\n<li>NEW: Reboot the router <code>[ 1 | reboot ]<\/code><\/li>\n<li>NEW: Router&#8217;s system info <code>[ 2 | sysinfo ]<\/code><\/li>\n<li>NEW: Router&#8217;s uptime <code>[ 3 | uptime ]<\/code><\/li>\n<li>NEW: ADSL info <code>[ 4 | adsl_info ]<\/code><\/li>\n<li>NEW: ADSL SNR check <code>[ 5 | adsl_snr ]<\/code><\/li>\n<li>NEW: Exit <code>[ 6 | exit | q ]<\/code><\/li>\n<\/ul>\n<h2 id=\"license\"><img decoding=\"async\" class=\"emoji\" draggable=\"false\" src=\"https:\/\/s.w.org\/images\/core\/emoji\/2\/svg\/2139.svg\" alt=\"\u2139\ufe0f\" \/> License<a href=\"#license\" class=\"heading-link\">#<\/a><\/h2>\n<p>MIT License. This script has no official affiliation with PTCL.<\/p>\n<\/div>\n<\/div>\n<p style=\"text-align: left;\">\n<div class=\"alert grey\">\n<p style=\"text-align: center;\"><a href=\"https:\/\/github.com\/ahmadawais\/PTCL-CLI\" target=\"_blank\">\u26a1\ufe0f GITHUB: \u2605 19 \u2442 6 \u2192<\/a><\/p>\n<\/div>\n<div class=\"alert orange\"> ?\u00a0Looking forward to the feedback and contribution from your end. That&#8217;s how we can make it something more worthwhile. Let&#8217;s collaborate at <span style=\"color: #ffffff;\"><a style=\"color: #ffffff;\" href=\"https:\/\/github.com\/ahmadawais\/PTCL-CLI\" target=\"_blank\">GitHub<\/a><\/span>.<\/div>\n<div class=\"alert blue\">\u2714\ufe0e Did you like PTCL CLI? It&#8217;d be great if you can share it on <span style=\"color: #ffffff;\"><a style=\"color: #ffffff;\" href=\"https:\/\/twitter.com\/MrAhmadAwais\/status\/782183615744606208\" target=\"_blank\">Twitter<\/a><\/span>. <\/div>\n","protected":false},"excerpt":{"rendered":"<p>PTCL-CLI (ptcli): An intuitive PTCL-CLI to control PTCL routers via command line.<\/p>\n","protected":false},"author":2,"featured_media":1778,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"webmentions_disabled_pings":false,"webmentions_disabled":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[141],"tags":[142,143,144],"class_list":["post-1774","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops","tag-ptcl","tag-ptcl-cli","tag-ptcl-command-line-reboot"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Introducing PTCL CLI: Control PTCL Routers via Command Line<\/title>\n<meta name=\"description\" content=\"PTCL-CLI (ptcli): An intuitive PTCL-CLI to control PTCL routers via command line.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ahmadawais.com\/ptcl-cli-control-ptcl-routers-via-command-line\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Introducing PTCL CLI: Control PTCL Routers via Command Line\" \/>\n<meta property=\"og:description\" content=\"PTCL-CLI (ptcli): An intuitive PTCL-CLI to control PTCL routers via command line.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ahmadawais.com\/ptcl-cli-control-ptcl-routers-via-command-line\/\" \/>\n<meta property=\"og:site_name\" content=\"Ahmad Awais\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/AhmadAwais\" \/>\n<meta property=\"article:author\" content=\"https:\/\/facebook.com\/AhmadAwais\" \/>\n<meta property=\"article:published_time\" content=\"2016-10-01T11:36:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-10-04T04:57:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ahmadawais.com\/wp-content\/uploads\/2016\/10\/PTCL-CLI.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ahmad Awais\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@MrAhmadAwais\" \/>\n<meta name=\"twitter:site\" content=\"@MrAhmadAwais\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ahmad Awais\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/ptcl-cli-control-ptcl-routers-via-command-line\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/ptcl-cli-control-ptcl-routers-via-command-line\\\/\"},\"author\":{\"name\":\"Ahmad Awais\",\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/#\\\/schema\\\/person\\\/1d1b9504182dca2315cf039fb4ebb85b\"},\"headline\":\"Introducing PTCL CLI: Control PTCL Routers via Command Line\",\"datePublished\":\"2016-10-01T11:36:36+00:00\",\"dateModified\":\"2016-10-04T04:57:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/ptcl-cli-control-ptcl-routers-via-command-line\\\/\"},\"wordCount\":537,\"commentCount\":8,\"publisher\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/#\\\/schema\\\/person\\\/1d1b9504182dca2315cf039fb4ebb85b\"},\"image\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/ptcl-cli-control-ptcl-routers-via-command-line\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/ahmadawais.com\\\/wp-content\\\/uploads\\\/2016\\\/10\\\/PTCL-CLI.png\",\"keywords\":[\"PTCL\",\"PTCL CLI\",\"PTCL command line reboot\"],\"articleSection\":[\"DevOps\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/ahmadawais.com\\\/ptcl-cli-control-ptcl-routers-via-command-line\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/ptcl-cli-control-ptcl-routers-via-command-line\\\/\",\"url\":\"https:\\\/\\\/ahmadawais.com\\\/ptcl-cli-control-ptcl-routers-via-command-line\\\/\",\"name\":\"Introducing PTCL CLI: Control PTCL Routers via Command Line\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/ptcl-cli-control-ptcl-routers-via-command-line\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/ptcl-cli-control-ptcl-routers-via-command-line\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/ahmadawais.com\\\/wp-content\\\/uploads\\\/2016\\\/10\\\/PTCL-CLI.png\",\"datePublished\":\"2016-10-01T11:36:36+00:00\",\"dateModified\":\"2016-10-04T04:57:43+00:00\",\"description\":\"PTCL-CLI (ptcli): An intuitive PTCL-CLI to control PTCL routers via command line.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/ptcl-cli-control-ptcl-routers-via-command-line\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/ahmadawais.com\\\/ptcl-cli-control-ptcl-routers-via-command-line\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/ptcl-cli-control-ptcl-routers-via-command-line\\\/#primaryimage\",\"url\":\"https:\\\/\\\/ahmadawais.com\\\/wp-content\\\/uploads\\\/2016\\\/10\\\/PTCL-CLI.png\",\"contentUrl\":\"https:\\\/\\\/ahmadawais.com\\\/wp-content\\\/uploads\\\/2016\\\/10\\\/PTCL-CLI.png\",\"width\":1920,\"height\":1200},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/ptcl-cli-control-ptcl-routers-via-command-line\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/ahmadawais.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Introducing PTCL CLI: Control PTCL Routers via Command Line\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/#website\",\"url\":\"https:\\\/\\\/ahmadawais.com\\\/\",\"name\":\"Ahmad Awais\",\"description\":\"Founder &amp; CEO of CommandCode.ai f\\\/k\\\/a Langbase | Google Developers Advisory Board (gDAB) founding member\",\"publisher\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/#\\\/schema\\\/person\\\/1d1b9504182dca2315cf039fb4ebb85b\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/ahmadawais.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/#\\\/schema\\\/person\\\/1d1b9504182dca2315cf039fb4ebb85b\",\"name\":\"Ahmad Awais\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/Ahmad-Awais-face.jpg\",\"url\":\"https:\\\/\\\/ahmadawais.com\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/Ahmad-Awais-face.jpg\",\"contentUrl\":\"https:\\\/\\\/ahmadawais.com\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/Ahmad-Awais-face.jpg\",\"width\":2299,\"height\":1705,\"caption\":\"Ahmad Awais\"},\"logo\":{\"@id\":\"https:\\\/\\\/ahmadawais.com\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/Ahmad-Awais-face.jpg\"},\"description\":\"Founder & CEO of \u2318 Command Code coding agent with taste. Founded Langbase.com, AI cloud to build, deploy, and scale AI agents with tools & memory \u00b7 Creator of Command.new. \\\"Awais is an awesome example for developers\\\" \u2014 Satya Nadella, CEO of Microsoft. NASA Mars Ingenuity Helicopter mission code contributor 8th GitHub Stars Award recipient with 5x GitHub Stars Award (Listed as GitHub's #1 JavaScript trending developer). Google Developers Expert Web DevRel. Ex VP Eng (DevTools & DevRel) Rapid \u00b7 Google Developers Advisory Board (gDAB) founding member \u00b7 AI\\\/ML\\\/DevTools Angel Investor (Replit, Resend, Daytona, Gumroad and you?) \u276f AI\\\/ML Advisory Board San Francisco, DevNetwork. Award-winning Open Source Engineering leader authored hundreds of open-source dev-tools and software libraries used by millions of developers, including Shades of Purple code theme and corona-cli. Linux Foundation (Node.js Committee Lead), OpenAPI Business Governing Board. Taught 108K+ developers via NodeCLI.com and VSCode.pro course. 274 million views, blogging for 24 yrs. \u276f Read more about Ahmad Awais or come say hi on \ud835\udd4f @MrAhmadAwais.\",\"sameAs\":[\"https:\\\/\\\/AhmadAwais.com\\\/\",\"https:\\\/\\\/facebook.com\\\/AhmadAwais\",\"https:\\\/\\\/instagram.com\\\/MrAhmadAwais\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/MrAhmadAwais\\\/\",\"https:\\\/\\\/x.com\\\/MrAhmadAwais\",\"https:\\\/\\\/youtube.com\\\/AhmadAwais\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Introducing PTCL CLI: Control PTCL Routers via Command Line","description":"PTCL-CLI (ptcli): An intuitive PTCL-CLI to control PTCL routers via command line.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ahmadawais.com\/ptcl-cli-control-ptcl-routers-via-command-line\/","og_locale":"en_US","og_type":"article","og_title":"Introducing PTCL CLI: Control PTCL Routers via Command Line","og_description":"PTCL-CLI (ptcli): An intuitive PTCL-CLI to control PTCL routers via command line.","og_url":"https:\/\/ahmadawais.com\/ptcl-cli-control-ptcl-routers-via-command-line\/","og_site_name":"Ahmad Awais","article_publisher":"https:\/\/facebook.com\/AhmadAwais","article_author":"https:\/\/facebook.com\/AhmadAwais","article_published_time":"2016-10-01T11:36:36+00:00","article_modified_time":"2016-10-04T04:57:43+00:00","og_image":[{"width":1920,"height":1200,"url":"https:\/\/ahmadawais.com\/wp-content\/uploads\/2016\/10\/PTCL-CLI.png","type":"image\/png"}],"author":"Ahmad Awais","twitter_card":"summary_large_image","twitter_creator":"@MrAhmadAwais","twitter_site":"@MrAhmadAwais","twitter_misc":{"Written by":"Ahmad Awais","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ahmadawais.com\/ptcl-cli-control-ptcl-routers-via-command-line\/#article","isPartOf":{"@id":"https:\/\/ahmadawais.com\/ptcl-cli-control-ptcl-routers-via-command-line\/"},"author":{"name":"Ahmad Awais","@id":"https:\/\/ahmadawais.com\/#\/schema\/person\/1d1b9504182dca2315cf039fb4ebb85b"},"headline":"Introducing PTCL CLI: Control PTCL Routers via Command Line","datePublished":"2016-10-01T11:36:36+00:00","dateModified":"2016-10-04T04:57:43+00:00","mainEntityOfPage":{"@id":"https:\/\/ahmadawais.com\/ptcl-cli-control-ptcl-routers-via-command-line\/"},"wordCount":537,"commentCount":8,"publisher":{"@id":"https:\/\/ahmadawais.com\/#\/schema\/person\/1d1b9504182dca2315cf039fb4ebb85b"},"image":{"@id":"https:\/\/ahmadawais.com\/ptcl-cli-control-ptcl-routers-via-command-line\/#primaryimage"},"thumbnailUrl":"https:\/\/ahmadawais.com\/wp-content\/uploads\/2016\/10\/PTCL-CLI.png","keywords":["PTCL","PTCL CLI","PTCL command line reboot"],"articleSection":["DevOps"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ahmadawais.com\/ptcl-cli-control-ptcl-routers-via-command-line\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ahmadawais.com\/ptcl-cli-control-ptcl-routers-via-command-line\/","url":"https:\/\/ahmadawais.com\/ptcl-cli-control-ptcl-routers-via-command-line\/","name":"Introducing PTCL CLI: Control PTCL Routers via Command Line","isPartOf":{"@id":"https:\/\/ahmadawais.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ahmadawais.com\/ptcl-cli-control-ptcl-routers-via-command-line\/#primaryimage"},"image":{"@id":"https:\/\/ahmadawais.com\/ptcl-cli-control-ptcl-routers-via-command-line\/#primaryimage"},"thumbnailUrl":"https:\/\/ahmadawais.com\/wp-content\/uploads\/2016\/10\/PTCL-CLI.png","datePublished":"2016-10-01T11:36:36+00:00","dateModified":"2016-10-04T04:57:43+00:00","description":"PTCL-CLI (ptcli): An intuitive PTCL-CLI to control PTCL routers via command line.","breadcrumb":{"@id":"https:\/\/ahmadawais.com\/ptcl-cli-control-ptcl-routers-via-command-line\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ahmadawais.com\/ptcl-cli-control-ptcl-routers-via-command-line\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ahmadawais.com\/ptcl-cli-control-ptcl-routers-via-command-line\/#primaryimage","url":"https:\/\/ahmadawais.com\/wp-content\/uploads\/2016\/10\/PTCL-CLI.png","contentUrl":"https:\/\/ahmadawais.com\/wp-content\/uploads\/2016\/10\/PTCL-CLI.png","width":1920,"height":1200},{"@type":"BreadcrumbList","@id":"https:\/\/ahmadawais.com\/ptcl-cli-control-ptcl-routers-via-command-line\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ahmadawais.com\/"},{"@type":"ListItem","position":2,"name":"Introducing PTCL CLI: Control PTCL Routers via Command Line"}]},{"@type":"WebSite","@id":"https:\/\/ahmadawais.com\/#website","url":"https:\/\/ahmadawais.com\/","name":"Ahmad Awais","description":"Founder &amp; CEO of CommandCode.ai f\/k\/a Langbase | Google Developers Advisory Board (gDAB) founding member","publisher":{"@id":"https:\/\/ahmadawais.com\/#\/schema\/person\/1d1b9504182dca2315cf039fb4ebb85b"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ahmadawais.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/ahmadawais.com\/#\/schema\/person\/1d1b9504182dca2315cf039fb4ebb85b","name":"Ahmad Awais","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ahmadawais.com\/wp-content\/uploads\/2020\/06\/Ahmad-Awais-face.jpg","url":"https:\/\/ahmadawais.com\/wp-content\/uploads\/2020\/06\/Ahmad-Awais-face.jpg","contentUrl":"https:\/\/ahmadawais.com\/wp-content\/uploads\/2020\/06\/Ahmad-Awais-face.jpg","width":2299,"height":1705,"caption":"Ahmad Awais"},"logo":{"@id":"https:\/\/ahmadawais.com\/wp-content\/uploads\/2020\/06\/Ahmad-Awais-face.jpg"},"description":"Founder & CEO of \u2318 Command Code coding agent with taste. Founded Langbase.com, AI cloud to build, deploy, and scale AI agents with tools & memory \u00b7 Creator of Command.new. \"Awais is an awesome example for developers\" \u2014 Satya Nadella, CEO of Microsoft. NASA Mars Ingenuity Helicopter mission code contributor 8th GitHub Stars Award recipient with 5x GitHub Stars Award (Listed as GitHub's #1 JavaScript trending developer). Google Developers Expert Web DevRel. Ex VP Eng (DevTools & DevRel) Rapid \u00b7 Google Developers Advisory Board (gDAB) founding member \u00b7 AI\/ML\/DevTools Angel Investor (Replit, Resend, Daytona, Gumroad and you?) \u276f AI\/ML Advisory Board San Francisco, DevNetwork. Award-winning Open Source Engineering leader authored hundreds of open-source dev-tools and software libraries used by millions of developers, including Shades of Purple code theme and corona-cli. Linux Foundation (Node.js Committee Lead), OpenAPI Business Governing Board. Taught 108K+ developers via NodeCLI.com and VSCode.pro course. 274 million views, blogging for 24 yrs. \u276f Read more about Ahmad Awais or come say hi on \ud835\udd4f @MrAhmadAwais.","sameAs":["https:\/\/AhmadAwais.com\/","https:\/\/facebook.com\/AhmadAwais","https:\/\/instagram.com\/MrAhmadAwais\/","https:\/\/www.linkedin.com\/in\/MrAhmadAwais\/","https:\/\/x.com\/MrAhmadAwais","https:\/\/youtube.com\/AhmadAwais"]}]}},"jetpack_featured_media_url":"https:\/\/ahmadawais.com\/wp-content\/uploads\/2016\/10\/PTCL-CLI.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ahmadawais.com\/api\/wp\/v2\/posts\/1774","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ahmadawais.com\/api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ahmadawais.com\/api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ahmadawais.com\/api\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ahmadawais.com\/api\/wp\/v2\/comments?post=1774"}],"version-history":[{"count":0,"href":"https:\/\/ahmadawais.com\/api\/wp\/v2\/posts\/1774\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ahmadawais.com\/api\/wp\/v2\/media\/1778"}],"wp:attachment":[{"href":"https:\/\/ahmadawais.com\/api\/wp\/v2\/media?parent=1774"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahmadawais.com\/api\/wp\/v2\/categories?post=1774"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahmadawais.com\/api\/wp\/v2\/tags?post=1774"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}