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-2dev5 years ago(revision: 3)11,379 downloads
0.7.1-15 years ago6,309,955 downloads
0.7.0-16 years ago239,159 downloads
0.6.0-16 years ago146,408 downloads
0.5.0-16 years ago46,001 downloads
0.4.1-16 years ago1,320 downloads
0.4.0-16 years ago174 downloads
0.3.2-16 years ago359 downloads
0.3.1-16 years ago544 downloads
0.3.0-16 years ago313 downloads
0.2.0-16 years ago127 downloads
0.1.0-16 years ago95 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, erde, Faketorio, fir, fourmi, fusionscript, gh-md-toc, git2.nvim, hc3emu, hc3emu2, hyprlua, kikgit, lapis, lapis-eswidget, lest, lister, llscheck, loveheaders, love-release, loverocks, lq, lrc, ltl, LuaBehave, luabundler, luacheck, luacheck, luacheck, luacheck, luacov-console, lua-globals, luainlua, luals2dox, luamon, luaprompt, lua-quickcheck, lua-resty-console, lua-rover, lua-rover-old, luarunner, luatest, lue, lwg, many2one, mega.argparse, mgcints, moonbuild, moonscript, nomad-lua, npg, opeth-opeth, paged-markdown-3-pdf, periodic-element, petrisport, prompt-style, rockbuild, rockwriter, runstache, santoku-cli, Satelito, seal, shiki, shiplog, sncl, sofa, teal-cli, tealdoc, tea-leaves, teal-language-server, tersen, texcat, texrocks, thingsim, tl, todo, watcher, wowcig, xcomposer, xml_tree, zappy, zync

Labels

Manifests