Mavbox.Mavryk_executableThis module wraps the type 'kind t around the notion of mavkit-executable: a path to a binary with mavkit-specific properties.
module Make_cli : sig ... endHelper functions to construct exec-style command lines for "mavkit-*" applications.
module Unix_files_sink : sig ... endManipulate the "MAVRYK_EVENTS_CONFIG" environment variable.
type kind = [ | `Node| `Baker| `Endorser| `Accuser| `Client| `Admin| `Smart_rollup_node| `Smart_rollup_installer| `Evm_node ]The type kind is used to distinguish 'a t executables.
type t = private {kind : kind;binary : string option;unix_files_sink : Unix_files_sink.t option;environment : (string * string) list;}The wrapper of the mavkit-executable.
val make :
?binary:string ->
?unix_files_sink:Unix_files_sink.t ->
?environment:(string * string) list ->
kind ->
tCreate a "mavkit-node" executable.
val get : ?protocol_kind:Mavryk_protocol.Protocol_kind.t -> t -> stringThe path to the executable.
val call :
< env_config : Environment_configuration.t.. > ->
t ->
?protocol_kind:Mavryk_protocol.Protocol_kind.t ->
path:string ->
string list ->
unit Genspio.EDSL.tBuild a Genspio.EDSL.t script to run a mavryk command, the ~path argument is used as a toplevel path for the unix-files event-sink (event-logging-framework) and for other local logging files.
val cli_term :
?extra_doc:string ->
?prefix:string ->
< manpager : Internal_pervasives.Manpage_builder.State.t.. > ->
kind ->
t Cmdliner.Term.tBuild a Cmdliner term which creates executables, the second argument is a prefix of option names (e.g. "mavryk" for the option "--mavryk-accuser-alpha-binary").
val kind_string : [< kind ] -> stringThe name of the executable.