Module Sihl__.Core_command

val log_src : Logs.src
module Logs : Logs.LOG
exception Exception of string
type t = {
name : string;
usage : string option;
description : string;
dependencies : Sihl__.Core_lifecycle.lifecycle list;
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 find_command_by_args : t list -> Stdlib.String.t CCList.t -> t option
val print_all : t list -> unit
val print_help : t -> unit
val run : t list -> Stdlib.String.t CCList.t option -> unit Lwt.t