<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Túlio Benedito Nhantumbo</title>
    <description>The latest articles on Forem by Túlio Benedito Nhantumbo (@beneditotulio).</description>
    <link>https://forem.com/beneditotulio</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3774383%2F717b601b-6322-4438-a133-dca387921681.jpeg</url>
      <title>Forem: Túlio Benedito Nhantumbo</title>
      <link>https://forem.com/beneditotulio</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/beneditotulio"/>
    <language>en</language>
    <item>
      <title>Building EduCLI – Offline-First Learning Content Generator with GitHub Copilot CLI</title>
      <dc:creator>Túlio Benedito Nhantumbo</dc:creator>
      <pubDate>Sun, 15 Feb 2026 23:20:17 +0000</pubDate>
      <link>https://forem.com/beneditotulio/building-educli-offline-first-learning-content-generator-with-github-copilot-cli-1gce</link>
      <guid>https://forem.com/beneditotulio/building-educli-offline-first-learning-content-generator-with-github-copilot-cli-1gce</guid>
      <description>&lt;p&gt;This is a submission for the &lt;a href="https://dev.to/challenges/github-2026-01-21"&gt;GitHub Copilot CLI Challenge&lt;/a&gt;*&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;I built EduCLI, a command-line tool that helps teachers and training centers generate offline-ready learning materials (HTML lessons, lesson plans and quizzes) using simple natural-language commands.&lt;/p&gt;

&lt;p&gt;EduCLI was created with a very specific problem in mind: in many regions (including where I live, in Mozambique), internet access is limited, and educators often struggle to prepare structured digital content for local use in classrooms, labs or community training centers.&lt;/p&gt;

&lt;p&gt;With a single command, EduCLI generates a ready-to-use learning package that can be copied to a local computer or shared on a local network.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;educli create lesson "Introdução à Programação" --level iniciante --lang pt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command generates:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;an HTML lesson page&lt;/li&gt;
&lt;li&gt;a teacher’s lesson script (Markdown)&lt;/li&gt;
&lt;li&gt;a quiz file (JSON)&lt;/li&gt;
&lt;li&gt;a simple offline-ready folder structure&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;My main goal was to create a productivity and problem-solving tool that simplifies content creation for technical education and digital skills training.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://github.com/beneditotulio/EduCLI.git
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Sample Command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;educli create lesson "Introdução à Programação" --level iniciante --lang pt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Generated output:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;output/
 └─ Introducao-a-Programacao/
      ├─ index.html
      ├─ roteiro.md
      └─ quiz.json
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpvn5tcxrscefquor8tdg.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpvn5tcxrscefquor8tdg.PNG" alt=" " width="800" height="140"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Generated HTML lesson&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9eewl2ttf8svnf77klr8.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9eewl2ttf8svnf77klr8.PNG" alt=" " width="667" height="930"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  My Experience with GitHub Copilot CLI
&lt;/h2&gt;

&lt;p&gt;GitHub Copilot CLI was a central part of my development workflow.&lt;br&gt;
Instead of switching constantly between browser, documentation and editor, I used Copilot directly inside the terminal to design commands, generate code, debug errors and refactor features.&lt;/p&gt;

&lt;p&gt;Some real examples of how I used GitHub Copilot CLI during development:&lt;br&gt;
&lt;strong&gt;Designing the CLI commands&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;gh copilot suggest "Create a Node.js CLI command using commander that generates a lesson folder with HTML and Markdown files"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This helped me quickly scaffold the main &lt;strong&gt;create lesson&lt;/strong&gt; command and understand how to structure the command handler.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Generating file and template logic&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;gh copilot suggest "Generate a TypeScript function that creates an HTML file and writes lesson content using a template"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Copilot helped me design the file generators and the template pipeline for the HTML and Markdown outputs.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Debugging and understanding errors&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;gh copilot explain error TS2345
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This was extremely useful when I faced TypeScript typing issues while working with file system APIs and command options.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Refactoring and improving usability&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;gh copilot explain src/commands/createLesson.ts
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Using Copilot CLI allowed me to improve the user experience of the tool by simplifying the command syntax and improving validation and feedback.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Understanding existing code&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;gh copilot explain src/commands/createLesson.ts
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This helped me review my own code and validate whether the command flow and responsibilities were well organized.&lt;/p&gt;




&lt;h2&gt;
  
  
  Impact on my development process
&lt;/h2&gt;

&lt;p&gt;Using GitHub Copilot CLI directly in the terminal made the entire development flow faster and more focused.&lt;br&gt;
I was able to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;design features without leaving the CLI&lt;/li&gt;
&lt;li&gt;quickly iterate on command behavior&lt;/li&gt;
&lt;li&gt;debug TypeScript and Node.js issues more efficiently&lt;/li&gt;
&lt;li&gt;refactor and improve usability with short, targeted prompts&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;More importantly, Copilot CLI supported not only coding, but also design thinking: helping me transform a real educational challenge into a practical and testable CLI tool.&lt;/p&gt;

&lt;p&gt;EduCLI is a simple project, but it demonstrates how GitHub Copilot CLI can accelerate the creation of real-world utilities, especially in contexts where technology must be accessible, lightweight and offline-friendly.&lt;/p&gt;




&lt;p&gt;Thanks for participating in the GitHub Copilot CLI Challenge.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>githubchallenge</category>
      <category>cli</category>
      <category>githubcopilot</category>
    </item>
  </channel>
</rss>
