package mirage-runtime

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

Arg defines values that can be set by runtime command-line arguments. This module is the runtime companion of Functora.Runtime_arg.

Command-line Arguments

type 'a t

The type for command-line arguments containing a value of type 'a.

val create : 'a Cmdliner.Term.t -> 'a t

create conv create a new command-line argument from a Cmdliner term.

val conv : (string -> ('a, [ `Msg of string ]) Stdlib.result) -> ('a -> string) -> 'a Cmdliner.Arg.conv
OCaml

Innovation. Community. Security.