From: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
To: caml-list@inria.fr, caml-hump@inria.fr
Subject: [Caml-list] [ANN] Cmdliner 0.9.0
Date: Fri, 27 May 2011 16:54:24 +0200 [thread overview]
Message-ID: <BANLkTimuggp1vcfCiOEpujVmVqKx8hAjTw@mail.gmail.com> (raw)
Hello,
I grew tired of the Arg module. For a quick and easy way to make your
functions available from the command line you may be interested in
Cmdliner :
Cmdliner is a module for the declarative definition of command line interfaces.
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
(like darcs or git) and respect most of the POSIX and GNU conventions.
Cmdliner is made of a single, independent, module and distributed
under the BSD3 license.
Project home page : http://erratique.ch/software/cmdliner
The basics section of the documentation can be read as tutorial introduction:
http://erratique.ch/software/cmdliner/doc/Cmdliner#basics
Your feedback is welcome.
Daniel
P.S. The examples use syntactic constructs only available in 3.12
however I took care not to use them in the implementation of Cmdliner
itself.
next reply other threads:[~2011-05-27 14:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-27 14:54 Daniel Bünzli [this message]
2011-05-27 16:35 ` Gabriel Scherer
2011-05-28 16:02 ` Daniel Bünzli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BANLkTimuggp1vcfCiOEpujVmVqKx8hAjTw@mail.gmail.com \
--to=daniel.buenzli@erratique.ch \
--cc=caml-hump@inria.fr \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox