package ez_cmdliner

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val command : string

command name

val version : string

current version

val about : string

printed when user calls with --about

val usage : string

printed by cmdliner for doc

val backtrace_var : string option

If this env variable is set, a backtrace will be generated on errors

val get_verbosity : unit -> int

manipulate verbosity

val set_verbosity : int -> unit
exception Error of string

standard error: no backtrace is printed unless the backtrace_var env variable is defined.

OCaml

Innovation. Community. Security.