Key.Arg
Terms for cross-stage arguments.
This module extends Cmdliner.Arg to allow MetaOCaml-style typed cross-stage persistency of command-line arguments.
val opt : 'a Cmdliner.Arg.conv -> 'a -> Cmdliner.Arg.info -> 'a t
opt conv v i
is similar to Cmdliner.Arg.opt but for cross-stage optional command-line arguments.
val required : 'a Cmdliner.Arg.conv -> Cmdliner.Arg.info -> 'a option t
required conv i
is similar to Cmdliner.Arg.required but for cross-stage required command-line arguments.
val flag : Cmdliner.Arg.info -> bool t
flag i
is similar to Cmdliner.Arg.flag but for cross-stage command-line flags.
val opt_all : 'a Cmdliner.Arg.conv -> Cmdliner.Arg.info -> 'a list t