Module Sihl.Command

exception Exception of string
type t = Sihl__.Core_command.t = {
name : string;
usage : string option;
description : string;
dependencies : Sihl__.Core_container.lifecycle list;
fn : string list -> unit option Lwt.t;
}
val make : name:string -> ?⁠help:string -> description:string -> ?⁠dependencies:Sihl__.Core_container.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