package core

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a t = {
  1. summary : Base.string;
  2. readme : Base.string Base.option;
  3. subcommands : (Base.string, 'a) Base.List.Assoc.t Base.Lazy.t;
}
include Ppx_compare_lib.Comparable.S1 with type 'a t := 'a t
val compare : ('a -> 'a -> int) -> 'a t -> 'a t -> int
val subcommands : 'a t -> (Base.string, 'a) Base.List.Assoc.t Base.Lazy.t
val readme : 'a t -> Base.string Base.option
val summary : 'a t -> Base.string
val sexp_of_t : ('a -> Sexplib0.Sexp.t) -> 'a t -> Sexplib0.Sexp.t
val find_subcommand : 'a t -> Base.string -> 'a Base.Or_error.t
val map : 'a t -> f:('a -> 'b) -> 'b t
val t_of_sexp : (Base.Sexp.t -> 'a) -> Base.Sexp.t -> 'a t
  • deprecated [since 2020-04] Use [Command.Stable.Shape.Group_info].
OCaml

Innovation. Community. Security.