Module B0_cli

Command line interface fragments.

Specifying b0 definitions

val units : ?docs:string -> ?doc:string -> unit -> string list Cmdliner.Term.t

units defines unit names with -u and --unit.

val x_units : ?docs:string -> ?doc:string -> unit -> string list Cmdliner.Term.t

x_units defines unit names to exclude with -x and --x-unit.

val packs : ?docs:string -> ?doc:string -> unit -> string list Cmdliner.Term.t

packs defines pack names with -p and --pack.

val x_packs : ?docs:string -> ?doc:string -> unit -> string list Cmdliner.Term.t

packs defines pack names to exclude via -X and --x-pack.

val get_excluded_units : x_units:string list -> x_packs:string list -> (B0_unit.Set.t, string) Stdlib.result

get_excluded_units ~x_units ~x_packs is the set of units excluded by the given unit and pack names.

Cli commands and fragments

TODO. Maybe all this stuff should be moved to a b0_memo_cli.

module File_cache : sig ... end

B0_zero.File_cache interaction.

module Op : sig ... end

B0_zero.Op interaction.

module Memo : sig ... end

B0_memo interaction.