diff options
| author | dacctal <donotcontactmevia@email.invalid> | 2026-07-04 05:27:09 +0000 |
|---|---|---|
| committer | dacctal <donotcontactmevia@email.invalid> | 2026-07-04 05:27:09 +0000 |
| commit | 6a386ee203c609894dc6e6e97bf6d5c651ab3e37 (patch) | |
| tree | 72bdfc2a50c71d862ceea449a9f6260cfd7dc4ff /src/main.c | |
| parent | 0b53842c93697913704303ed1967150705359f35 (diff) | |
lua checkpoint!
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 37 |
1 files changed, 20 insertions, 17 deletions
@@ -18,27 +18,30 @@ */ -// #include "cla_parse.h" -#include "pkg.h" +#include "parse_args.h" #include "globs.h" -#include "str.h" +//#include "pkg.h" +//#include "str.h" +//#include "debug.h" int main(int argc, char **argv) { - (void)argc; init_vars(); - package_t pkg = pkg_create(mstrslc(argv[1])); - printf("NAME:\t"); - str_println(&pkg.name); - printf("URL:\t"); - str_println(&pkg.url); - printf("VER:\t"); - str_println(&pkg.version); - printf("TRG:\t"); - str_println(&pkg.target); - printf("SRC:\t"); - str_println(&pkg.src); - pkg_free(&pkg); - //cla_parse(argc, argv); + parse_args(argc, argv); + + //package_t pkg = pkg_create(mstrslc(argv[1])); + //printf("NAME:\t"); + //str_println(&pkg.name); + //printf("URL:\t"); + //str_println(&pkg.url); + //printf("VER:\t"); + //str_println(&pkg.version); + //printf("TRG:\t"); + //str_println(&pkg.target); + //printf("SRC:\t"); + //str_println(&pkg.src); + //pkg_free(&pkg); + + //debug_print_inst_dirs(); free_vars(); return 0; } |
