lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Mon, Dec 18, 2017 at 5:51 AM, Gary V. Vaughan <gary@vaughan.pe> wrote:
> Automatically generate a custom command-line option parser from just the
> long-form help text for your program.

I've always been a fan of this approach, starting with the help text
that you have to write anyway. I did a Rust crate lapp (after the
Penlight module) that follows this philosophy, mostly because I didn't
feel like an extra 400Kb in my exes for the more fashionable
solutions. (It is possible that I still have late 20-Century attitudes
to executable size)