LuaRocks.org had a security incident in September 2026. Read the incident report.

Declaratively build command line interfaces.

$ luarocks install cli

The package cli provides a declarative API to build command line interfaces. It supports defining flags and positional arguments, declaring mandatory arguments, default values and subcommands.

It automatically generates help messages, and automatically validates user input.

Versions

1.0.2-16 years ago214 downloads

Dependencies

lua >= 5.2

Dependency for

pocket_archive

Manifests