Bash's builtin getopts doesn't support --long-name args . Linux has a getopt command, but OS X's is limited. Perhaps I'll just use Python.
miniblog.
Related Posts
Porting my 2016 Rust project from getopts to clap, and it's amazing how far the ecosystem has come.
clap gives me a nicer help, automatic value validation, and can even generate completions for shells!
First screenshot is getopts, second is clap.
I'm dusting off a Rust project from 2016, and it's striking how much the ecosystem has grown. For example, I used getopts then whereas clap is delightful and does so much now.

