package spin

  1. Overview
  2. Docs
type command = {
  1. name : string;
  2. args : string list;
}
type action =
  1. | Run of command
  2. | Refmt of Expr.t list
type t = {
  1. actions : action list;
  2. message : Expr.t option;
  3. enabled_if : Expr.t option;
}
val decode_run_action : Sexplib.Sexp.t -> (action, Decoder.error) result
val decode_refmt_action : Sexplib0.Sexp.t -> (action, Decoder.error) result
val decode_action : action Decoder.t
val decode : Sexplib0.Sexp.t -> (t, Spin__Decoder.error) Spin_std.Result.t
OCaml

Innovation. Community. Security.