Cmdliner
provides a simple and compositional mechanism to convert command line arguments to OCaml values and pass them to your functions.
The library automatically handles syntax errors, help messages and UNIX man page generation. It supports programs with single or multiple commands (like git
) and respect most of the POSIX and GNU conventions.
The following manuals are available.
Cmdliner
Declarative definition of command line interfaces.