Module Brzo.Cli
Cli interaction.
Man pages fragments
Cli configuration
val conf : auto_cwd_root:bool -> use_brzo_file:bool -> domain:Pre_domain.t option -> all_domains:Pre_domain.t list -> Conf.t Cmdliner.Term.t
conf ~use_brzo_file ~domain ~all_domain
is aCmdliner
term for configuration with:auto_cwd_root
, allows the root to fall back toConf.cwd
if the root can't be determined. This allows commands that work e.g. on the_b0
directory to work after theBRZO
file marking the root might have been deleted.use_brzo_file
, iftrue
the BRZO file is consulted.domain
, ifSome d
the cli has the arguments for the pre-domaind
.all_domains
is the list of domains knows tobrzo
as pre-domains.
Term evaluation performs a few side effects. In particular it setups colored output and logging via
B0_std_ui
.setup.