package mirage

  1. Overview
  2. Docs
include module type of struct include Functoria_key.Arg end
type !'a serialize = Stdlib.Format.formatter -> 'a -> unit
type 'a runtime_conv = string
type 'a converter = 'a Functoria_key.Arg.converter
val conv : conv:'a Cmdliner.Arg.converter -> serialize:'a serialize -> runtime_conv:'a runtime_conv -> 'a converter
val string : string converter
val bool : bool converter
val int : int converter
val list : 'a converter -> 'a list converter
val some : 'a converter -> 'a option converter
type 'a t = 'a Functoria_key.Arg.t
type info = Functoria_key.Arg.info
val info : ?docs:string -> ?docv:string -> ?doc:string -> ?env:string -> string list -> info
type stage = [
  1. | `Both
  2. | `Configure
  3. | `Run
]
val opt : ?stage:stage -> 'a converter -> 'a -> info -> 'a t
val required : ?stage:stage -> 'a converter -> info -> 'a option t
val flag : ?stage:stage -> info -> bool t
val ipv4_address : Ipaddr.V4.t converter
val ipv6_prefix : Ipaddr.V6.Prefix.t converter
OCaml

Innovation. Community. Security.