package clim

  1. Overview
  2. Docs
Command Line Interface Maker

Install

Dune Dependency

Authors

Maintainers

Sources

0.3.0.tar.gz
md5=ae7eafe6c0eeac8a3b5288aa809ffd48
sha512=5e5636385f455eb71934b7aa810089d1748fbacd463451e9032a7fb1f8a86a4eaf9ec327119c663f0230ee38ef4983a01c63e138f4172459c92b41f39ad1960a

doc/clim/Clim/class-cli/index.html

Class Clim.cliSource

The Object-Oriented CLI definition

method arg : 'a. ('a, final) arg -> ('a -> unit) -> unit

arg a k adds the argument specification a to the CLI and calls k on its final value.

method set : 'a. ('a, final) arg -> 'a ref -> unit

set a r adds the argument specification a to the CLI and sets the reference with its final value.

method virtual entrypoint : unit -> 'r

Entrypoint definition.

method man_xrefs : Cmdliner.Manpage.xref list

Inherted Cmdliner definitions.

method man : Cmdliner.Manpage.block list
method envs : Cmdliner.Term.env_info list
method doc : string
method version : string option
method name : string
method run : 'r

Runs the entrypoint according to the CLI definition.

OCaml

Innovation. Community. Security.