Skip to content
forked from dbuenzli/cmdliner

Declarative definition of command line interfaces for OCaml

Notifications You must be signed in to change notification settings

skydeck/cmdliner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

-------------------------------------------------------------------------------
%%MODNAME%% - %%SYNOPSIS%%
           Release %%VERSION%%
-------------------------------------------------------------------------------

%%DESCRIPTION%%

Home page: %%HOMEPAGE%%
Contact: %%MAINTAINER%%


Installation
------------

To install %%MODNAME%% you need at least : 

    OCaml %%OCAMLVERSION%% %%PPDEPS%%

If you have `findlib`, it can be installed by typing :

    ocaml setup.ml -configure
    ocaml setup.ml -build 
    ocaml setup.ml -install

If you don't, `%%NAME%%.mli` and `%%NAME%%.ml` contain everything, the
code, the documentation and the license. Install the dependencies and
use the sources the way you want. For example if you use `ocamlbuild`
you can issue the following commands from the root directory of your
project :

    ln -s /path/to/%%NAME%%-%%VERSION%%/src %%NAME%%
    echo "<%%NAME%%> : include" >> _tags


Documentation
-------------

The documentation and API reference is automatically generated by
`ocamldoc` from `%%NAME%%.mli`. For you convenience you can find a
generated version in the `doc` directory of the distribution.


Sample programs
---------------

Sample programs are located in the `test` directory of the
distribution. They define the command line of some classic
programs and can be built with:

    ocamlbuild test/tests.otarget

The resulting binaries are in `_build/test`.

About

Declarative definition of command line interfaces for OCaml

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • OCaml 98.2%
  • Shell 1.8%