package tezt-tezos

  1. Overview
  2. Docs
type move_args = {
  1. from : string;
  2. to_ : string;
}

Moves path from at path to_.

type reveal_args = {
  1. hash : string;
  2. to_ : string;
}

Reveals hash hash at path to_.

type set_args = {
  1. value : string;
  2. to_ : string;
}

Sets value value at path to_.

type instr =
  1. | Move of move_args
  2. | Reveal of reveal_args
  3. | Set of set_args
type t = instr list

Set of instructions used by the installer-client.

val of_json : string -> t

of_json path parses the JSON file at path and returns the installer config. Note that the instruction Reveal cannot be expressed in JSON because of the YAML definition, therefore path must not contain these instructions.

OCaml

Innovation. Community. Security.