cmdliner

Declarative definition of command line interfaces for OCaml
README

v1.1.1

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 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.

Home page: 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 and API reference is automatically generated by from
the source interfaces. It can be consulted online or via
odig doc cmdliner.

Sample programs

If you installed Cmdliner with opam sample programs are located in
the directory opam config var cmdliner:doc. These programs define
the command line of some classic programs.

In the distribution sample programs are located in the test
directory of the distribution. They can be built and run with:

topkg build --tests true && topkg test
Install
Maintainers
Sources
cmdliner-1.1.1.tbz
sha512=5478ad833da254b5587b3746e3a8493e66e867a081ac0f653a901cc8a7d944f66e4387592215ce25d939be76f281c4785702f54d4a74b1700bc8838a62255c9e
Dependencies
ocaml
>= "4.08.0"
Reverse Dependencies
albatross
>= "1.4.3"
alcotest
< "1.1.0"
alcotest-async
>= "1.3.0"
alcotest-lwt
>= "1.3.0"
asak
>= "0.2"
aws-s3
>= "3.0.0"
aws-s3-async
< "3.0.0"
b0
>= "0.0.4"
bap
< "0.9.5" | = "0.9.9"
bap-abi
< "2.2.0"
bap-api
< "2.2.0"
bap-beagle
< "2.3.0"
bap-bil
< "2.2.0"
bap-cache
< "2.2.0"
bap-frames
< "2.1.1"
bap-frontend
< "2.2.0"
bap-llvm
< "2.2.0"
bap-mc
< "2.0.0"
bap-objdump
< "2.2.0"
bap-plugins
< "2.2.0"
bap-powerpc
>= "2.2.0"
bap-std
>= "1.3.0"
bap-taint
< "1.4.0"
batsh
>= "0.0.4"
bisect_ppx
>= "2.0.0"
caqti
>= "1.8.0"
caqti-async
>= "1.8.0"
caqti-lwt
>= "1.8.0"
carton
>= "0.3.0"
certify
>= "0.3.0"
checkseum
>= "0.0.2" & < "0.2.0"
cohttp
>= "0.13.0" & < "0.99.0"
coq-serapi
>= "8.9.0+0.6.0"
crowbar
>= "0.2.1"
datakit
>= "0.10.0"
datakit-ci
>= "0.10.0"
datakit-client
< "0.11.0"
datakit-github
>= "0.9.0"
datakit-server
>= "0.10.0" & < "0.11.0"
decompress
>= "0.8" & < "1.0.0" | >= "1.3.0"
dns
>= "0.6.0" & < "0.19.1"
dns-forward
< "0.9.0"
dockerfile
>= "1.1.0" & < "3.0.0"
docteur
>= "0.0.4"
doi2bib
>= "0.3.0"
dune-deps
>= "1.1.0"
dune-release
>= "1.6.1"
electrumAnalyzer
>= "0.3.5-2"
elpi
>= "1.3.1"
equinoxe
< "0.2.0"
frenetic
>= "3.2.0" & < "5.0.0"
functoria
= "3.1.2" | >= "4.0.0"
git
>= "1.4.4" & < "1.6.0" | >= "3.0.0"
git-unix
= "3.7.1" | >= "3.8.1"
github
>= "0.4.0" & < "3.0.0"
gitlab-unix
>= "0.1.3"
hll
>= "2.7"
hvsock
< "2.0.0"
hxd
>= "0.3.2"
irmin
< "1.0.0"
irmin-bench
< "3.0.0" | >= "3.2.1"
irmin-pack
>= "2.3.0" & < "2.9.1" | >= "3.2.1"
irmin-test
>= "2.3.0" & < "3.0.0" | >= "3.2.1"
irmin-tezos
< "3.0.0" | >= "3.2.1"
irmin-unix
>= "1.0.2" & < "1.2.0" | >= "2.3.0" & < "3.0.0" | >= "3.2.1"
js_of_ocaml
>= "2.5" & < "3.0"
kafka
>= "0.3" & < "0.5"
ke
>= "0.5"
kinetic-client
>= "0.0.9"
lambdapi
= "2.0.0" | >= "2.2.0"
letsencrypt
< "0.3.0"
minicaml
>= "0.2.2"
mirage-console
>= "2.1.2" & < "2.2.0"
mirage-dns
>= "2.6.0" & < "3.0.0"
mrmime
>= "0.5.0"
nbd
>= "0.9.2" & < "4.0.3"
nuscr
>= "2.0.0"
obandit
>= "0.3.4"
ocamlformat
>= "0.21.0"
ocp-browser
>= "1.1.6"
ocp-build
= "1.99.20-beta"
ocp-indent
>= "1.6.0"
opam-0install
>= "0.4.1"
opam-client
>= "2.0.0~beta"
opam-depext
>= "1.2.1"
opam-devel
>= "2.0.0~beta"
opam-grep
>= "0.2.0"
opam-lib
>= "1.3.1"
opam-publish
!= "0.3.0+transition"
opam2web
>= "1.3.0" & < "2.0"
opass
>= "2.15"
opium
>= "0.12.0"
ordma
>= "0.0.5"
pds
>= "4.13"
pecu
< "0.4"
pg_query
>= "0.9.6"
plotkicadsch
>= "0.2.0"
protocol-9p
< "0.12.1"
publish
< "0.3.4+transition"
qcow
< "0.10.2" | >= "0.11.0"
rosetta
< "0.2.0"
rpc
>= "1.9.51" & < "5.9.0"
satyrographos
< "0.0.1.7"
tar-format
>= "0.2.0" & < "0.7.1"
tensorflow
>= "0.0.4"
tezos-node
>= "8.0"
tldr
>= "0.3.0"
tls
>= "0.15.3"
topkg-care
>= "1.0.5"
touist
>= "3.5.0"
tuntap
>= "1.0.0" & != "1.4.1"
user-setup
>= "0.4"
xen-gnt
>= "1.0.0"
yuscii
= "0.2.0"