r/lua • u/Cyb3r-Kun • Oct 14 '26
A Command-line Argument parsing library for Lua I wrote for fun
https://codeberg.org/cyb3rkun/lua-argparse
10
Upvotes
r/lua • u/Cyb3r-Kun • Oct 14 '26
6
u/Cyb3r-Kun Oct 14 '26
The link preview says simple, it's actually fully posix complient, and supports out-of-order execution.
and can automatically generate help info by passing descriptions when adding flags/options
3
u/Cootshk Oct 16 '26
fyi, `argparse` is the name of the existing argument parsing library
1
u/Cyb3r-Kun Oct 27 '26
The Repo has moved to codeberg.org/cyb3rlua/arglex
1
u/unburdened_swallow Oct 21 '26
You missed your chance to join in the tradition of flexing your generated --help output in your readme.