package functoria-runtime

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Functoria_runtime.ArgSource

Arg defines command-line arguments which can be set at runtime. This module is the runtime companion of Functoria.Key. It exposes a subset of Cmdliner.Arg.

Runtime command-line arguments

Sourcetype 'a t

The type for runtime command-line arguments. Similar to Functoria.Key.Arg.t but only available at runtime.

opt is the runtime companion of Functoria.Ky.Arg.opt.

required is the runtime companion of Functoria.Key.Arg.required.

Sourceval key : ?default:'a -> 'a Cmdliner.Arg.converter -> Cmdliner.Arg.info -> 'a t

key is either opt or required, depending if ~default is provided.

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

flag is the runtime companion of Functoria.Key.Arg.flag.

OCaml

Innovation. Community. Security.