The unpac monorepo manager self-hosting as a monorepo using unpac
OCaml 80.2%
Shell 1.1%
Makefile 0.9%
Standard ML 0.2%
Dune 0.1%
Other 17.5%
498 131 0

Clone this repository

https://tangled.org/anil.recoil.org/unpac-unpac https://tangled.org/did:plc:nhyitepp3u4u6fcfboegzcjw/unpac-unpac
git@git.recoil.org:anil.recoil.org/unpac-unpac git@git.recoil.org:did:plc:nhyitepp3u4u6fcfboegzcjw/unpac-unpac

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
README.md

Cmdliner — Declarative definition of command line interfaces for OCaml#

Cmdliner allows the declarative definition of command line interfaces for OCaml.

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 command line completion, 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 has no dependencies and is distributed under the ISC license.

Homepage: http://erratique.ch/software/cmdliner

Installation#

Cmdliner can be installed with opam:

opam install cmdliner

If you don't use opam consult the opam file for build instructions.

Documentation#

The documentation can be consulted online or via odig doc cmdliner.

Questions are welcome but better asked on the OCaml forum than on the issue tracker.

Sample programs#

A few examples and blueprints can be found in the documentation and in the test directory.