feat: standard argument parsing

This commit is contained in:
2025-07-17 18:22:10 -04:00
parent ccd28fc9bf
commit d943d6db8c
6 changed files with 134 additions and 45 deletions

View File

@@ -4,7 +4,7 @@
#include <stdbool.h>
typedef enum {
OPENBSD3,
BSD3,
GPLv3,
MIT,
UNLICENCE,
@@ -17,7 +17,8 @@ typedef enum {
} lib_t;
typedef struct {
bool nogit;
bool git;
bool clang_format;
licence_t licence;
char *name;
} format_t;