1#ifndef INCLUDE_LIB_APC_ARGPARSER_H_
2#define INCLUDE_LIB_APC_ARGPARSER_H_
6#include "../../../vendor/cvec/inc/cvec/cvec.h"
9# define __APC_CPP_GUARD_OPEN extern "C" {
10# define __APC_CPP_GUARD_CLOSE }
12# define __APC_CPP_GUARD_OPEN
13# define __APC_CPP_GUARD_CLOSE
104 const char *lowerInfo
143#undef __APC_CPP_GUARD_OPEN
144#undef __APC_CPP_GUARD_CLOSE
bool apc_get(APC_ArgParser *argpar, const char *id)
Get if there is an argument present.
APC_RGB __apc_rgbToRGBStruct(const char *rgbStr)
Convert the default RGB format to a valid RGB struct and parse all extended commands.
char * apc_generateHelp(APC_ArgParser *argpar, const char *title, const char *topInfo, const char *lowerInfo)
Automatically generate help and pass it to the string to return.
bool apc_add(APC_ArgParser *argpar, APC_ArgInfo info)
Setup Arg Information to the argpar.
char * __apc_colorFormat(APC_ArgParser *argpar, const char *msg)
Format color;.
APC_ArgParser apc_init(int argc, char *argv[])
Initialize parser with argc and argv from the main() function.
APC_ArgInfo apc_initInfo(void)
Initialize information for params.
@ APC_RGB_Command_Underline
void apc_destroy(APC_ArgParser *argpar)
Free all allocated data for argument parser.
char * __apc_setRGB(int r, int g, int b)
Convert RGB to ANSI escape code.
#define __APC_CPP_GUARD_OPEN
#define __APC_CPP_GUARD_CLOSE
enum APC_RGB_Command __externalAction