lohhiiccc
a6cdef89ca
refactor(cli): use X-macro pattern for CLI options definition
...
Extract CLI options into a reusable macro (CLI_OPTIONS_LIST) in cli_opt.h
and refactor handler_map.c to eliminate manual option array duplication.
Calculate g_has_len automatically from option definitions.
2026-03-03 08:27:26 +01:00
lohhiiccc
ec3a3b8721
feat(cli): parse numeric option arguments and validate values
2026-03-02 12:48:28 +01:00
lohhiiccc
d0444f9431
fix(cli): avoid shadowing global optarg variable
...
Rename parameter 'optarg' to 'arg' in handle_one_option() to fix
-Wshadow warning.
2026-03-01 14:47:56 +01:00
lohhiiccc
44cd05a499
typo: correct 'hanlde' to 'handle'
2026-03-01 14:46:56 +01:00
lohhiiccc
cff77eef9d
refactor(cli): use named constants for return codes and implement flag handlers
2026-03-01 14:40:57 +01:00
lohhiiccc
52338017a6
feat: implement version command handlers
2026-03-01 13:56:23 +01:00
lohhiiccc
257ff100e3
feat: implement help command handlers
2026-03-01 13:56:07 +01:00
lohhiiccc
b786e79287
feat: add version generation and CLI parsing
...
Add auto-generated version header and implement full command-line
argument parsing with getopt_long support.
2026-03-01 13:55:11 +01:00
lohhiiccc
c29336ea81
typo: handle_quit -> handle_quiet
2026-02-09 15:05:03 +01:00
lohhiiccc
69b5766782
refactor: srcs/ -> src
2026-02-09 15:05:03 +01:00