B0_tool.Def
B0_def
generic support.
Generic implementation of a few standard commands we need for b0 defintions.
val list :
(module B0_def.S) ->
B0_driver.Conf.t ->
B0_std_cli.output_format ->
string list ->
B0_std.Os.Exit.t
list (module Def) c details ns
lists definition Def
named ns
with details details
. If ns
is empty all definitions are listed.
val edit :
(module B0_def.S) ->
B0_driver.Conf.t ->
string list ->
B0_std.Os.Exit.t
edit (module Def) c ns
edits the b0 files which define Def
s named ns
. If ns
is empty all the b0 files that have definitions of kind Def
are edited.
val get_meta_key :
(module B0_def.S) ->
B0_driver.Conf.t ->
B0_std_cli.output_format ->
string ->
string list ->
B0_std.Os.Exit.t
get (module Def) k ns
gets key k
in the metadata of definitions named ns
with details details
. If ns
is empty all definitions are listed.