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-2dev24 days ago(revision: 4)11,510 downloads
0.7.1-15 years ago6,745,045 downloads
0.7.0-16 years ago239,219 downloads
0.6.0-16 years ago147,292 downloads
0.5.0-16 years ago46,840 downloads
0.4.1-16 years ago1,323 downloads
0.4.0-16 years ago181 downloads
0.3.2-16 years ago361 downloads
0.3.1-16 years ago545 downloads
0.3.0-16 years ago315 downloads
0.2.0-16 years ago129 downloads
0.1.0-16 years ago97 downloads

Dependencies

lua >= 5.1, < 5.5

Dependency for

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

Labels

Manifests