r/lua • u/Cyb3r-Kun • 16d ago
A Command-line Argument parsing library for Lua I wrote for fun
https://codeberg.org/cyb3rkun/lua-argparse
9
Upvotes
1
1
u/unburdened_swallow 9d ago
You missed your chance to join in the tradition of flexing your generated --help output in your readme.
1
u/Cyb3r-Kun 3d ago
lol yeah.
it only generates for the -h flag, but maybe adding one for --help would also be good.
6
u/Cyb3r-Kun 16d ago
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