← All repos

cmdliner

Declarative definition of command line interfaces for OCaml

Browse cluster: OCaml Systems and Utilities
536commits
20contributors
4languages

Tech stack & purpose

Cmdliner is an OCaml library that provides a declarative mechanism for defining command line interfaces. It converts command line arguments to OCaml values and automatically handles features like command line completion, syntax error reporting, help messages, and UNIX man page generation, while supporting both single and multiple command programs and following POSIX and GNU conventions. The library has no external dependencies and is written in OCaml.

Languages

OCaml
95.8%
PowerShell
1.5%
Shell
1.5%
Makefile
1.2%

Contributors