SimpleCLI
                                
                                
                                
                                    SimpleCLI copied to clipboard
                            
                            
                            
                        Command Line Interface Library for Arduino
I am programming a Portenta H7 Lite on platformio where I have to include in main. I get the following compilation error even with a blank script, as long as...
Hi, compiling under GCC for ESP32 (idf version 4.4) produces a warning: ``` ../components/cli/SimpleCLI/src/c/cmd.c: In function 'cmd_parse': ../components/cli/SimpleCLI/src/c/cmd.c:258:20: warning: this statement may fall through [-Wimplicit-fallthrough=] if (prefix != '-') {...
Is there already something like a subcommand function? The idea is to have a command "spi read" and "spi write" to have different obligatory parameters. currently commands with a space...
It would be nice to be able to issue a command but execute a command after it, such as `mycommand | wait ` It would execute mycommand, then execute wait....
Hi. I have been using SimpleCLI and developing code from your examples. I decided to change from the default number of arguments. SimpleCLI cli(10); This fails on an Arduino UNO...
``` cmdWiFi = cli.addBoundlessCommand("wifi"); cmdWiFi.setDescription(" manages the wifi connection"); cmdWiFi.addFlagArg("scan"); cmdWiFi.addFlagArg("connect"); cmdWiFi.addPosArg("ssid", "SSID"); cmdWiFi.addPosArg("pass/word", "PASSWORD"); String input = "wifi -scan"; cli.parse(cliInput); if (cli.available()){ Command c = cli.getCmd(); if (c =...