argparse

A feature-rich command-line argument parser

$ luarocks install argparse

Argparse is a feature-rich command line parser for Lua inspired by argparse for Python.

Argparse supports positional arguments, options, flags, optional arguments, subcommands and more. Argparse automatically generates usage, help, and error messages, and can generate shell completion scripts.

Versions

scm-2dev7 years ago(revision: 4)11,510 downloads
0.7.2-1113 days ago582,569 downloads
0.7.1-16 years ago6,881,538 downloads
0.7.0-17 years ago239,327 downloads
0.6.0-17 years ago148,735 downloads
0.5.0-17 years ago47,770 downloads
0.4.1-17 years ago1,349 downloads
0.4.0-17 years ago209 downloads
0.3.2-17 years ago387 downloads
0.3.1-17 years ago571 downloads
0.3.0-17 years ago342 downloads
0.2.0-17 years ago156 downloads
0.1.0-17 years ago126 downloads

Dependencies

lua >= 5.1, < 5.6

Dependency for

altdoc, amber-apigw, APIcast, apicast-cli, apisix, Apache APISIX, atlas, candran, cascproxy, ccrunx-compose, ccrunx-image, chemical-element, combustion, cosrun, cosy-client, croissant, cyan, danetool, depgraph, dwarfspec, epstopdf, erde, Faketorio, fir, fourmi, fusionscript, gh-md-toc, git2.nvim, hc3emu, hc3emu2, hyprlua, import-gtksettings, kikgit, kpathsea, lapis, lapis-eswidget, lapis-exceptions, lest, lister, llscheck, love-release, loveheaders, loverocks, lq, lrc, ltl, lua-globals, lua-quickcheck, lua-resty-console, lua-resty-nginx-runner, lua-rover, lua-rover-old, LuaBehave, luabundler, luacheck, luacheck, luacheck, luacheck, luacov-console, luagir, luainlua, luals2dox, luamon, luapit, luaprompt, luarunner, luatest, lue, lwg, mani, many2one, mega.argparse, mgcints, moonbuild, moonrocks, moonscript, nomad-lua, npg, opeth-opeth, orangetl, paged-markdown-3-pdf, parse_sdp, petrisport, pgen, pico8-l10n, prompt-style, rockbuild, rockwriter, runstache, santoku-cli, Satelito, seal, shiki, shiplog, sitegen, sncl, sofa, tea-leaves, teal-cli, teal-language-server, teal-language-server, tealdoc, tersen, tested, texcat, texdef, texrocks, thingsim, tl, todo, watcher, wowcig, xcomposer, xml_tree, zappy, zync

Labels

Manifests