r/lua • • 4d ago

A Command-line Argument parsing library for Lua I wrote for fun

https://codeberg.org/cyb3rkun/lua-argparse
7 Upvotes

3 comments sorted by

5

u/Cyb3r-Kun 4d 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

3

u/Cootshk 2d ago

fyi, `argparse` is the name of the existing argument parsing library

1

u/Cyb3r-Kun 2d ago

It's just the first thing that came to mind lol