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-2dev4 years ago(revision: 3)8,245 downloads
0.7.1-14 years ago4,799,935 downloads
0.7.0-15 years ago239,079 downloads
0.6.0-15 years ago144,379 downloads
0.5.0-15 years ago45,434 downloads
0.4.1-15 years ago1,313 downloads
0.4.0-15 years ago165 downloads
0.3.2-15 years ago342 downloads
0.3.1-15 years ago537 downloads
0.3.0-15 years ago308 downloads
0.2.0-15 years ago122 downloads
0.1.0-15 years ago90 downloads

Dependencies

lua >= 5.1, < 5.5

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, erde, Faketorio, fir, fourmi, fusionscript, gh-md-toc, hyprlua, kikgit, lapis, lapis-eswidget, 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, luarunner, luatest, many2one, mgcints, moonbuild, moonscript, nomad-lua, opeth-opeth, petrisport, rockbuild, rockwriter, runstache, santoku-cli, Satelito, shiki, shiplog, sncl, sofa, tbhss, teal-cli, tea-leaves, teal-language-server, tersen, thingsim, tl, todo, watcher, wowcig, xcomposer, xml_tree

Labels

Manifests