$darkmode
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
cli.h
Go to the documentation of this file.
1 
6 #ifndef CLI_H
7 #define CLI_H
8 
13 typedef enum {
20 
30 CliAction cli_handle_args(int argc, char* argv[]);
31 
32 #endif /* CLI_H */
CliAction cli_handle_args(int argc, char *argv[])
Parses command-line arguments and determines the next action.
Definition: cli.c:18
CliAction
Directive for the application after parsing arguments.
Definition: cli.h:13
@ CLI_ACTION_CONTINUE
Definition: cli.h:14
@ CLI_ACTION_EXIT_SUCCESS
Definition: cli.h:16
@ CLI_ACTION_EXIT_FAILURE
Definition: cli.h:17