Module B0_ui.Cli

Cmdliner fragments.

module Arg : sig ... end

Miscellaneous Cmdliner argument converters.

Specifying output formats

type out_fmt = [
| `Normal
| `Short
| `Long

The type for specifying output format details.

val out_fmt : ?⁠docs:string -> ?⁠short_opts:string list -> ?⁠long_opts:string list -> unit -> out_fmt Cmdliner.Term.t

out_fmt ~short_opts ~long_opts () are mutually exclusive options to specify short and long output format, without options this is `Normal. short_opts defaults to ["s"; "short"] and long_opts default to ["l"; "long"]. docs is the manual section in which options are documtend.