package mirage-runtime

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

Module Functoria_runtime.ArgSource

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

Sourcetype 'a t

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

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

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

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

Innovation. Community. Security.