cmdliner

Declarative definition of command line interfaces for OCaml
README

v1.0.4

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
Contact: Daniel Bünzli <daniel.buenzl i@erratique.ch>

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.0.4.tbz
md5=fe2213d0bc63b1e10a2d0aa66d2fc8d9
Dependencies
ocaml
>= "4.03.0"
Reverse Dependencies
acgtk
>= "1.5.1"
albatross
< "1.4.3"
alcotest
< "1.6.0"
alcotest-async
>= "1.3.0" & < "1.6.0"
alcotest-js
< "1.6.0"
alcotest-lwt
>= "1.3.0" & < "1.6.0"
alcotest-mirage
>= "1.3.0" & < "1.6.0"
alt-ergo
>= "2.4.0"
altgr-ergo
>= "2.4.0"
asak
>= "0.2"
awa
< "0.1.1"
aws-s3
>= "3.0.0" & < "4.6.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"
builder
< "0.3.1"
caqti
= "1.7.0"
caqti-async
= "1.7.0"
caqti-lwt
= "1.7.0"
carton
>= "0.2.0" & < "0.4.4"
checkseum
>= "0.0.2" & < "0.2.0"
cohttp
>= "0.13.0" & < "0.99.0"
coin
< "0.1.2"
crowbar
< "0.2.1"
current
< "0.6"
current_github
>= "0.4" & < "0.6"
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" & < "1.4.3"
dns
>= "0.6.0" & < "0.19.1"
dns-cli
< "6.2.0"
dns-forward
< "0.9.0"
dockerfile
>= "1.1.0" & < "3.0.0"
docteur
< "0.0.4"
doi2bib
>= "0.3.0"
dolmen_bin
< "0.7"
dream-cli
< "0.2.0"
duff
< "0.3"
dune-deps
>= "1.1.0"
dune-release
< "1.6.1"
electrumAnalyzer
>= "0.3.5-2"
elpi
>= "1.3.1"
equinoxe
< "0.2.0"
ez_cmdliner
< "0.4.3"
fat-filesystem
< "0.15.1"
frenetic
>= "3.2.0" & < "5.0.0"
functoria
< "4.0.0"
git
>= "1.4.4" & < "1.6.0" | >= "3.0.0" & != "3.7.1" & < "3.8.1"
git-unix
>= "1.10.1" & != "3.7.1" & < "3.8.1"
github
>= "0.4.0" & < "3.0.0"
hll
>= "2.7"
hvsock
< "3.0.1"
hxd
< "0.3.2"
index
>= "1.3.0"
irmin
< "1.0.0"
irmin-pack
>= "2.3.0"
irmin-test
>= "2.3.0"
irmin-unix
>= "1.0.2" & < "1.2.0" | >= "2.3.0"
js_of_ocaml
>= "2.5" & < "3.0"
kafka
>= "0.3" & < "0.5"
kinetic-client
>= "0.0.9"
lab
< "0.1.4"
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"
obuilder
< "0.4"
ocamlformat
< "0.21.0"
ocp-browser
>= "1.1.6"
ocp-build
>= "1.99.20-beta"
ocp-indent
>= "1.6.0"
odig
< "0.0.8"
omod
< "0.0.3"
opam-0install
< "0.4.3"
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"
pyml_bindgen
< "0.3.0"
qcow
< "0.10.2" | >= "0.11.0"
rosetta
< "0.3.0"
rpc
>= "1.9.51" & < "5.9.0"
rpclib
< "9.0.0"
satyrographos
< "0.0.1.7"
solo5-elftool
< "0.3.1"
tar-format
>= "0.2.0" & < "0.7.1"
tensorflow
>= "0.0.4"
tezos-node
>= "8.0" & < "13.0"
tldr
>= "0.3.0"
touist
>= "3.5.0"
tuntap
>= "1.0.0" & != "1.4.1"
uring
< "0.3"
user-setup
>= "0.4"
uuuu
< "0.2.0"
xen-gnt
>= "1.0.0"
yuscii
< "0.3.0"