package mirage

  1. Overview
  2. Docs
The MirageOS library operating system

Install

Dune Dependency

Authors

Maintainers

Sources

mirage-4.9.0.tbz
sha256=0c07d59eb52dc3d1506eb4121c4953104a12df79d08a0f0923c9b71e7474a026
sha512=666bf9ee20c9f9de058441f252f4f40ceec6a9ffd00e5cd3b7bfa9532fd65000aeb8a83f9e55586be98d0a86ea72f2dda94e924608135e3d63441359505de58a

doc/mirage.functoria/Functoria/Key/Arg/index.html

Module Key.ArgSource

Terms for cross-stage arguments.

This module extends Cmdliner.Arg to allow MetaOCaml-style typed cross-stage persistency of command-line arguments.

Sourcetype 'a t

The type for arguments holding data of type 'a.

Optional Arguments

Sourceval 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.

Sourceval 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.

Sourceval flag : Cmdliner.Arg.info -> bool t

flag i is similar to Cmdliner.Arg.flag but for cross-stage command-line flags.

Sourceval opt_all : 'a Cmdliner.Arg.conv -> Cmdliner.Arg.info -> 'a list t
Sourceval info : ?deprecated:string -> ?absent:string -> ?docs:string -> ?docv:string -> ?doc:string -> ?env:Cmdliner.Cmd.Env.info -> string list -> Cmdliner.Arg.info
OCaml

Innovation. Community. Security.