← All repos

cmdliner

Declarative definition of command line interfaces for OCaml

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

Tech stack & purpose

Cmdliner is an OCaml library that provides a declarative mechanism for defining command line interfaces, automatically converting command line arguments to OCaml values. It handles command line completion, syntax errors, help messages, and UNIX man page generation for programs with single or multiple commands, while respecting POSIX and GNU conventions. The library has no dependencies and is built for OCaml as its sole language and framework.

Languages

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

Contributors