blackmagic-esp32-s2/main/cli-commands.h

20 lines
378 B
C
Raw Normal View History

2021-12-01 04:15:45 +00:00
/**
* @file cli-commands.h
* @author Sergey Gavrilov (who.just.the.doctor@gmail.com)
* @version 1.0
* @date 2021-12-01
*
* Cli commands list
*/
#pragma once
#include <m-string.h>
typedef void (*CliCallback)(Cli* cli, mstring_t* args);
struct CliItem {
const char* name;
CliCallback callback;
};
extern const CliItem cli_items[];
extern size_t cli_items_count;