Feature Request: add a command cli cache and a cli help #225

Open
opened 2026-10-05 02:04:41 +02:00 by adam · 4 comments
Owner

📝 Description

In the RPT console cli command window, a cached last used cli commands should exist (Autocomplet would be soooo sweet :) ) so that they could be retreived via up/down arrow (desktop app) or any other usable way (on mobiles...?).
Also to have a simple Cli command help file that show what are the commands available (in what firmware version) and a short description of what they do (from the oficial doc https://docs.meshcore.io/cli_commands/ ).
Also a redirect to the oficial documentation, this might help when new commands might exist for newer firmware but RT4MC was not updated (unless it parses directly from the oficial site).

🚦 Current Behavior

There is no cached last used cli commands OR cli commands help / doc url.

🎯 Expected Behavior

The console cli command window should cache the last used commands (in that session, cache across sessions I think it is overkill) and it should be retreived via a shortcut like up/down arrow key in the desktop app.
The console area should have a help for the current cli commands taken from the oficial documentation site and a url link to the documentation site.

📋 Steps to Reproduce

NA

📸 Screenshots / Logs

💻 Environment Information

  • OS: Windows 11
  • Browser/Version: Edge 149.0.4022.80 (Official build) (64-bit)
  • Project Version: v3.15.2 wrapped has an app in HomeAssistant OS

💡 Possible Solution


Additional context
Add any other context about the problem here.

💡 Possible Solution


Additional context
Add any other context about the problem here.

## 📝 Description In the RPT console cli command window, a cached last used cli commands should exist (Autocomplet would be soooo sweet :) ) so that they could be retreived via up/down arrow (desktop app) or any other usable way (on mobiles...?). Also to have a simple Cli command help file that show what are the commands available (in what firmware version) and a short description of what they do (from the oficial doc https://docs.meshcore.io/cli_commands/ ). Also a redirect to the oficial documentation, this might help when new commands might exist for newer firmware but RT4MC was not updated (unless it parses directly from the oficial site). ## 🚦 Current Behavior There is no cached last used cli commands OR cli commands help / doc url. ## 🎯 Expected Behavior The console cli command window should cache the last used commands (in that session, cache across sessions I think it is overkill) and it should be retreived via a shortcut like up/down arrow key in the desktop app. The console area should have a help for the current cli commands taken from the oficial documentation site and a url link to the documentation site. ## 📋 Steps to Reproduce NA ## 📸 Screenshots / Logs ## 💻 Environment Information - **OS:** Windows 11 - **Browser/Version:** Edge 149.0.4022.80 (Official build) (64-bit) - **Project Version:** v3.15.2 wrapped has an app in HomeAssistant OS ## 💡 Possible Solution --- **Additional context** Add any other context about the problem here. ## 💡 Possible Solution --- **Additional context** Add any other context about the problem here. <!-- github-sync-id:4768627743 -->
Author
Owner

I don't really want to reimplement help but we can add a link to https://docs.meshcore.io/cli_commands/. I'm curious; what is your use case where you're sending enough commands that having command history for one session only would be useful?

I don't really want to reimplement help but we can add a link to https://docs.meshcore.io/cli_commands/. I'm curious; what is your use case where you're sending enough commands that having command history for one session only would be useful? <!-- github-comment-id:4919275153 -->
Author
Owner

My use case is because I normally have a long session time and also when I we are testing with repeaters like changing geoposition or afeter a restart we need to reconfigure somethings.
for example has of now we in PT with LusoFW, we are implementing an algoritm to automaticly add regions scopes based on the geoposition configured on the RPT...
at the end of the day, there are times that I need to send several commands to the RPT and I wish I was on a Cisco cli or something with cache and autocomplete :D

My use case is because I normally have a long session time and also when I we are testing with repeaters like changing geoposition or afeter a restart we need to reconfigure somethings. for example has of now we in PT with LusoFW, we are implementing an algoritm to automaticly add regions scopes based on the geoposition configured on the RPT... at the end of the day, there are times that I need to send several commands to the RPT and I wish I was on a Cisco cli or something with cache and autocomplete :D <!-- github-comment-id:4922883040 -->
Author
Owner

About the help I was thinking of at least mimiking what the MC apps already do, that is having an help window where you can search for the cli and when you click it, the command is populated in the cli command window.

Image Image Image
About the help I was thinking of at least mimiking what the MC apps already do, that is having an help window where you can search for the cli and when you click it, the command is populated in the cli command window. <img width="991" height="256" alt="Image" src="https://github.com/user-attachments/assets/f6d86fcd-91fd-425b-8c6c-ed6c63e97db6" /> <img width="985" height="383" alt="Image" src="https://github.com/user-attachments/assets/cc602291-e735-4615-8db9-70b98f2d7457" /> <img width="601" height="304" alt="Image" src="https://github.com/user-attachments/assets/fdda3041-a412-493b-bf28-b52ac0ab4e0a" /> <!-- github-comment-id:4922926857 -->
Author
Owner

Hmmm yeah I don't think I want to implement (thus need to update and maintain) an inline command reference, but I'm down to keep an up/down arrow history of commands and link to the docs.

Hmmm yeah I don't think I want to implement (thus need to update and maintain) an inline command reference, but I'm down to keep an up/down arrow history of commands and link to the docs. <!-- github-comment-id:4929472642 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Remote-Terminal-for-MeshCore#225