ARMmbed / mbed-os

Arm Mbed OS is a platform operating system designed for the internet of things
https://mbed.com
Other
4.67k stars 2.98k forks source link

requirement : a registerable CLI #7573

Closed jeckypei closed 5 years ago

jeckypei commented 6 years ago

Description

I have write simple modules base on tinyShell : https://github.com/jeckypei/mbedosBase/wiki/CLI--API https://github.com/jeckypei/mbedosBase/tree/master/develop/cmd

Issue request type

[ ] Question
[ ] Enhancement
[ ] Bug

0xc0170 commented 6 years ago

I reviewed other issues similar to this one (named as requirement). Can you provide more details (the current implementation (is this missing in the current Mbed OS?), use cases, documentation - if this is new API, how it should look like, what it should do, how it shall be used). Why do you think this is requirement, what this requirement should contain? [Mirrored to Jira]

jupe commented 6 years ago

Looks similar with this one: https://github.com/ARMmbed/mbed-client-cli [Mirrored to Jira]

jeckypei commented 6 years ago

interactive CLI is a very very basic requirement for embed system, for debug or change some configuration dynamically. it is better to make CLI build-in . yes, seems similar with mbed-client-cli . CLI is better to be a single thread , and very simple and small API, better to support TAB complete . [Mirrored to Jira]

jupe commented 6 years ago

It seems that all your requirements have been met - except build-in - which will probably change in future.. Did you try mbed-client-cli ? [Mirrored to Jira]

jeckypei commented 6 years ago

i did not try mbed-client-cli . i just suggest CLI module as build-in , and also let CLI module with build-in common commands such as : date(set/show date) , reboot(reboot system) , help(show all commands list) . i think build-in will make application development fast .

[Mirrored to Jira]

adbridge commented 6 years ago

Internal Jira reference: https://jira.arm.com/browse/IOTCORE-284

SenRamakri commented 5 years ago

Hello @jeckypei - Thanks for the suggestion. Unfortunately we don't have any immediate plans to add mbed-cli as build-in feature by default. If you need such functionality please use mbed-client-cli and feel free to expand that by creating PRs to https://github.com/ARMmbed/mbed-client-cli repo.