19 #ifndef COMMANDER_MAX_OPTIONS
20 #define COMMANDER_MAX_OPTIONS 32
27 #ifndef COMMANDER_MAX_ARGS
28 #define COMMANDER_MAX_ARGS 32
62 typedef struct command {
void command_option(command_t *self, const char *small, const char *large, const char *desc, command_callback_t cb)
void command_parse(command_t *self, int argc, char **argv)
void(* command_callback_t)(struct command *self)
#define COMMANDER_MAX_ARGS
void command_init(command_t *self, const char *name, const char *version)
void command_help(command_t *self)
const char * large_with_arg
void command_free(command_t *self)
#define COMMANDER_MAX_OPTIONS