package spin

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