package spin

  1. Overview
  2. Docs
type command = {
  1. name : Spin_std.string;
  2. args : Spin_std.string Spin_std.list;
}
type action =
  1. | Run of command
  2. | Refmt of Spin_std.string Spin_std.list
type t = {
  1. message : Spin_std.string Spin_std.option;
  2. actions : action Spin_std.list;
}
val of_dec : context:(Spin_std.string, Spin_std.string) Spin_std.Hashtbl.t -> Dec_template.Actions.t -> t Lwt.t
val of_decs_with_condition : context:(Spin_std.string, Spin_std.string) Spin_std.Hashtbl.t -> Dec_template.Actions.t Spin_std.list -> (t Spin_std.list, Spin_error.t) Lwt_result.t
val run : path:Spin_std.string -> t -> (Spin_std.unit, Spin_error.t) Lwt_result.t
OCaml

Innovation. Community. Security.