- Move CLI internal headers to `includes/internal/cli/` - Split CLI handler and parsing declarations across dedicated internal headers - Move handler map to `option_map.c` and properly update references - Relocate CLI utility source and test files from `utils` to `parse_utils` - Refactor `cli.h` to only expose the public interface, move internal typedefs/functions out - Update build system: add conditional git commit detection
9 lines
196 B
C
9 lines
196 B
C
#ifndef CLI_INTERNAL_PARSE_UTILS
|
|
#define CLI_INTERNAL_PARSE_UTILS
|
|
|
|
#include <stdint.h>
|
|
|
|
int cli_parse_uint64(const char *s, uint64_t *out);
|
|
int cli_parse_float(const char *s, float *out);
|
|
|
|
#endif
|