package spin

  1. Overview
  2. Docs
type post_install = {
  1. command : Base.string;
  2. args : Base.string Base.list;
  3. description : Base.string Base.option;
  4. working_dir : Base.string Base.option;
  5. condition : Base.string Base.option;
}
val post_install_of_sexp : Sexplib0.Sexp.t -> post_install
type ignore = {
  1. files : Base.string Base.list;
  2. condition : Base.string;
}
val ignore_of_sexp : Sexplib0.Sexp.t -> ignore
type example_command = {
  1. name : Base.string;
  2. description : Base.string;
  3. condition : Base.string Base.option;
}
val example_command_of_sexp : Sexplib0.Sexp.t -> example_command
type cst =
  1. | Post_install of post_install
  2. | Ignore of ignore
  3. | Cfg_string of Prompt_cfg.string_cfg
  4. | Cfg_list of Prompt_cfg.list_cfg
  5. | Cfg_confirm of Prompt_cfg.confirm_cfg
  6. | Example_command of example_command
val cst_of_sexp : Sexplib0.Sexp.t -> cst
type t = {
  1. models : (Base.string * Jingoo.Jg_types.tvalue) Base.list;
  2. post_installs : post_install Base.list;
  3. ignore_files : Base.string Base.list;
  4. example_commands : example_command Base.list;
}
type doc = Base.unit
val doc_of_cst : cst Base.list -> doc
val t_of_cst : use_defaults:bool -> models:(Base.string * Jingoo.Jg_types.tvalue) Base.List.t -> global_context:Global_context.t Base.option -> cst Base.list -> t
OCaml

Innovation. Community. Security.