ZClk
0.1.0-alpha.3
Library to build cli programs
|
A CLI Command Ojbect. More...
#include <zclk.h>
Data Fields | |
char * | name |
name of the command | |
char * | short_name |
short name of the command | |
char * | description |
textual description | |
arraylist * | sub_commands |
list of subcommands | |
arraylist * | options |
options list | |
arraylist * | args |
args list | |
zclk_command_fn | handler |
command handler function | |
zclk_command_output_handler | error_handler |
error handler for the command | |
zclk_command_output_handler | success_handler |
success handler for the command | |
int | lua_handler_ref |
lua ref for handler | |
int | lua_udata_ref |
lua ref for the udata of this object | |
A CLI Command Ojbect.