Computer Laboratory

OCaml Labs

cmdliner

Author Daniel Bünzli <daniel.buenzli at erratique.ch>
License BSD3
Homepage http://erratique.ch/software/cmdliner
Maintainer opam-devel@lists.ocaml.org
Dependencies ocamlfind
Last update Dec 19, 2013
Source http://erratique.ch/software/cmdliner/releases/cmdliner-0.9.2.tbz
8f3c925d15d676602782453a16808102

Declarative definition of command line interfaces for OCaml

Cmdliner is a module for the declarative definition of command line interfaces.

It provides a simple and compositional mechanism to convert command line arguments to OCaml values and pass them to your functions. The module automatically handles syntax errors, help messages and UNIX man page generation. It supports programs with single or multiple commands and respects most of the POSIX and GNU conventions.

Cmdliner is made of a single independent module and distributed under the BSD3 license.