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