Declarative definition of command line interfaces for OCaml
Browse cluster: OCaml Systems and Utilities →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.