Command.Shape
A Command_shape
allows limited introspection of a Command
, including subcommands, arguments, and doc strings. Think of it as machine-readable help.
module Anons : sig ... end
module Num_occurrences : sig ... end
module Flag_info : sig ... end
module Flag_help_display : sig ... end
module Base_info : sig ... end
module Group_info : sig ... end
module Exec_info : sig ... end
module Fully_forced : sig ... end
Fully forced shapes are comparable and serializable.
type t =
| Basic of Base_info.t
| Group of t Group_info.t
| Exec of Exec_info.t * Base.unit -> t
| Lazy of t Base.Lazy.t
val fully_forced : t -> Fully_forced.t
val get_summary : t -> Base.string
module Sexpable : sig ... end
module Stable : sig ... end
module Private : sig ... end