package sihl

  1. Overview
  2. Docs
exception Exception of string
type t = {
  1. name : string;
  2. usage : string option;
  3. description : string;
  4. dependencies : Sihl__.Core_lifecycle.lifecycle list;
  5. fn : string list -> unit option Lwt.t;
}
val make : name:string -> ?help:string -> description:string -> ?dependencies:Sihl__.Core_lifecycle.lifecycle list -> (string list -> unit option Lwt.t) -> t
val print_all : t list -> unit
val print_help : t -> unit
val run : t list -> string list option -> unit Lwt.t
OCaml

Innovation. Community. Security.