Functoria.Runtime_arg
Define runtime command-line arguments.
create ~pos ?packages v
is the runtime argument pointing to the value v
. pos
is expected to be __POS__
. packages
specifies in which opam package the value v
is defined. This should be constrained to the correct type of the variable it is pointing to.
module Set : sig ... end
Set
implements sets over t
elements.
val call : t Fmt.t
call fmt k
outputs name ()
to fmt
, where n
is k
's OCaml name.
val serialize : runtime_modname:string -> t Fmt.t
serialize ctx ppf k
outputs the Cmdliner
runes to parse command-line arguments represented by k
at runtime.
val var_name : t -> string