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-2dev6 years ago(revision: 4)11,510 downloads
0.7.2-136 days ago162,139 downloads
0.7.1-15 years ago6,832,113 downloads
0.7.0-16 years ago239,255 downloads
0.6.0-16 years ago147,795 downloads
0.5.0-16 years ago47,276 downloads
0.4.1-16 years ago1,326 downloads
0.4.0-16 years ago185 downloads
0.3.2-16 years ago364 downloads
0.3.1-16 years ago548 downloads
0.3.0-16 years ago318 downloads
0.2.0-16 years ago132 downloads
0.1.0-16 years ago101 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, 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, 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, luainlua, luals2dox, luamon, luapit, luaprompt, luarunner, luatest, lue, lwg, many2one, mega.argparse, mgcints, moonbuild, moonrocks, moonscript, nomad-lua, npg, opeth-opeth, paged-markdown-3-pdf, parse_sdp, 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, teal-language-server, tealdoc, tersen, tested, texcat, texdef, texrocks, thingsim, tl, todo, watcher, wowcig, xcomposer, xml_tree, zappy, zync

Labels

Manifests