- Add detailed build and bootstrap instructions to README.md. - Convert all source and header files from .c/.h to .c.md/.h.md. - Add bootstrap.sh script for automated building across version history. - Update Makefile and sources.mk to reflect new markdown-based source organization.
23 lines
310 B
Markdown
23 lines
310 B
Markdown
```c
|
|
#ifndef CLI_H
|
|
# define CLI_H
|
|
|
|
# include <stdint.h>
|
|
|
|
typedef struct s_args
|
|
{
|
|
const char *ext;
|
|
const char *input;
|
|
const char *output;
|
|
const char *map_path;
|
|
uint8_t show_help;
|
|
} t_args;
|
|
|
|
int8_t
|
|
cli_parse(t_args *args, int32_t argc, char **argv);
|
|
|
|
void
|
|
cli_print_help(const char *progname);
|
|
|
|
#endif
|
|
```
|