aboutsummaryrefslogtreecommitdiff
path: root/src/cli/commands.h
blob: d55edb96aa315745dbe72163b404b7e5ac8d0f2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef COMMANDS_H
#define COMMANDS_H

#include <stddef.h>

struct Command {
    char* name;
    int (*func)(int, char**);
    char* description;
};

extern const struct Command commands[];
extern const size_t commands_size;

#endif