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 ipv4 : Ipaddr.V4.Prefix.t converter
val ipv6_address : Ipaddr.V6.t converter
val ipv6 : Ipaddr.V6.Prefix.t converter
val ip_address : Ipaddr.t converter
OCaml

Innovation. Community. Security.