embedded-cli
embedded-cli copied to clipboard
Single-header CLI with history and autocompletion for embedded systems (like Arduino or STM32)
There appears to be a typo in the released v0.1.3 .h file See : https://github.com/funbiscuit/embedded-cli/releases/tag/v0.1.3 Line 49, `#elif UINTPTR_MAX == 0xFFFFFFFFFFFFFFFFu` should probably be: `#elif UINTPTR_MAX == 0xFFFFFFFFFFFFFFFF` right ?
This submission adds an additional "hidden" boolean to the command binding structure. Commands with the "hidden" bit set are not shown in the help menu or provided in autocomplete. Why...
Currently it is possible to add bindings at runtime without any issues. It will add more flexibility if there was an option to also remove bindings at runtime.
Default implementations might be unused but still take memory space. Allow to remove them or overwrite implementations.
Example: ```c void onAdc(EmbeddedCli *cli, char *args, void *context) { // somehow get input while (embeddedCliBytesAvailable(cli) > 0) { uint8_t b = embeddedCliReadByte(cli); } } ``` If you input is...
Currently on any user input something is called - either registered binding or general `onCommand ` when given command is not registered. The only exception is if input empty (user...
It would be nice if the equals sign, or other operators could be identified as tokens, the problem would be that there might be no space character, 1+2 would be...
Hello. I am using this cli in an embedded c++ project, and it's pretty cool. I found this [getopt port](https://github.com/kimgr/getopt_port) and I could eventually use it by iterating on the...
Hi, As latest version of the repository can accept only one word command. Is there any way to support multi-word command feature. Example usage: `uart send `