esp-openclaw-node/examples/common/esp_openclaw_node_example_repl_cmd.h

22 lines
521 B
C

/*
* SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include "esp_err.h"
#include "esp_openclaw_node.h"
/**
* @brief Register the common REPL commands used by the examples.
*
* @param[in] node OpenClaw Node instance targeted by REPL actions.
*
* @return
* - `ESP_OK` on success
* - an ESP-IDF error code if registration fails
*/
esp_err_t esp_openclaw_node_example_repl_register_commands(esp_openclaw_node_handle_t node);