11 Commits

Author SHA1 Message Date
Kovid Goyal
5c9c8aa424 Add unit testing for launcher code 2025-04-28 09:25:25 +05:30
Kovid Goyal
b0ae88ada9 Wire up the codegen C cli parser 2025-04-28 09:20:11 +05:30
Kovid Goyal
280baa224d Preserve original argv optionally 2025-04-28 09:20:11 +05:30
Kovid Goyal
1413d8fb85 Fix handling of --help and --version 2025-04-28 09:20:11 +05:30
Kovid Goyal
9961bdf6b5 Fix set_err 2025-04-28 09:20:11 +05:30
Kovid Goyal
e3f7948ee4 Convenience functions to use in launcher code 2025-04-28 09:20:10 +05:30
Kovid Goyal
0a288ad56c Fix memleak in CLISpec 2025-04-28 09:20:10 +05:30
Kovid Goyal
7c10ed92f7 DRYer 2025-04-28 09:20:10 +05:30
Kovid Goyal
40f0f3d3eb Use a simple arena allocator for CLISpec 2025-04-28 09:20:10 +05:30
Kovid Goyal
62699f6799 Get basic C cli parsing working 2025-04-28 09:20:10 +05:30
Kovid Goyal
527f30ffcc Start work on moving full command line parsing to native code 2025-04-28 09:20:10 +05:30