package mirage

  1. Overview
  2. Docs
The MirageOS library operating system

Install

dune-project
 Dependency

Authors

Maintainers

Sources

mirage-4.11.2.tbz
sha256=2cbd7924f82d85ad8ed6bab2f8dc95e6bd15a723532193b56af01813ab20b1a7
sha512=995dd413d02cf279d4de4178d0fda61fdcbad9518f2b114eb76d0c16cd4eeb602fbd44a8916e29b62b307fca9a5f374f7c3d104287f4f7ee9c89e706876a9895

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 -> ?doc_envs:Cmdliner.Cmd.Env.info list -> ?docv:string -> ?doc:string -> ?env:Cmdliner.Cmd.Env.info -> string list -> Cmdliner.Arg.info