gengetopt

Install command:
brew install gengetopt

Generate C code to parse command-line arguments via getopt_long

https://www.gnu.org/software/gengetopt/

/api/formula/gengetopt.json (JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel big sur
catalina
mojave
high sierra
sierra
Apple Silicon big sur

Current versions:

stable 2.23

Analytics:

Installs (30 days)
gengetopt 145
Installs on Request (30 days)
gengetopt 134
Build Errors (30 days)
gengetopt 0
Installs (90 days)
gengetopt 437
Installs on Request (90 days)
gengetopt 400
Installs (365 days)
gengetopt 1,949
Installs on Request (365 days)
gengetopt 1,796
Fork me on GitHub