ZClk  0.1.0-alpha.3
Library to build cli programs
Data Fields
zclk_command_t Struct Reference

A CLI Command Ojbect. More...

#include <zclk.h>

Collaboration diagram for zclk_command_t:
Collaboration graph
[legend]

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
 

Detailed Description

A CLI Command Ojbect.


The documentation for this struct was generated from the following file: