···
2
+
synopsis: "Declarative definition of command line interfaces for OCaml"
4
+
Cmdliner allows the declarative definition of command line interfaces
7
+
It provides a simple and compositional mechanism to convert command
8
+
line arguments to OCaml values and pass them to your functions. The
9
+
module automatically handles syntax errors, help messages and UNIX man
10
+
page generation. It supports programs with single or multiple commands
11
+
and respects most of the [POSIX][1] and [GNU][2] conventions.
13
+
Cmdliner has no dependencies and is distributed under the ISC license.
15
+
[1]: http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html
16
+
[2]: http://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html
18
+
Home page: http://erratique.ch/software/cmdliner"""
19
+
maintainer: "Daniel Bünzli <daniel.buenzl i@erratique.ch>"
20
+
authors: "The cmdliner programmers"
22
+
tags: ["cli" "system" "declarative" "org:erratique"]
23
+
homepage: "https://erratique.ch/software/cmdliner"
24
+
doc: "https://erratique.ch/software/cmdliner/doc"
25
+
bug-reports: "https://github.com/dbuenzli/cmdliner/issues"
27
+
"ocaml" {>= "4.08.0"}
29
+
build: [make "all" "PREFIX=%{prefix}%"]
31
+
[make "install" "LIBDIR=%{_:lib}%" "DOCDIR=%{_:doc}%"]
32
+
[make "install-doc" "LIBDIR=%{_:lib}%" "DOCDIR=%{_:doc}%"]
34
+
dev-repo: "git+https://erratique.ch/repos/cmdliner.git"
36
+
src: "https://erratique.ch/software/cmdliner/releases/cmdliner-1.1.1.tbz"
38
+
"sha512=5478ad833da254b5587b3746e3a8493e66e867a081ac0f653a901cc8a7d944f66e4387592215ce25d939be76f281c4785702f54d4a74b1700bc8838a62255c9e"