Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

The Caml Hump: User interfaces :: Command line

Native OCaml libraries
Cmdliner [09-Jan-2013, version 0.9.3, Beta] Has a documentation
Cmdliner is an OCaml 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 (like darcs or git) and respects most of the POSIX and GNU conventions.
Author: Daniel Bunzli.
Native OCaml libraries
Getopt [09-Aug-2001, version 2000-08-04, Beta] Has a Godi package
Parsing of command line arguments (à la GNU GetOpt) for OCaml.
Author: Alain Frisch.
Camlp4 extensions
pa_arg [31-Jul-2006, version 0.2.1, Beta] Has a Godi packageHas a documentation
CAMLP4 syntax extension offering a special syntax for parsing command-line arguments.
Author: Eric Breck.