The esp_cli component provides a Runtime Evaluation Loop (REPL) mechanism for ESP-IDF-based applications. It enables the creation of interactive command-line interfaces (CLI) that support user-defined commands, command history management, and customizable callbacks for execution.
It relies on two other components:
esp_linenoise: Handles line editing and input.esp_cli_commands: Handles command parsing and execution.
Key features include modular REPL management (start/stop control), thread-safe operation via FreeRTOS semaphores, and optional command history persistence to a filesystem.