B0_tool_std.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_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_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.