Command.ShapeA Command_shape allows limited introspection of a Command, including subcommands, arguments, and doc strings. Think of it as machine-readable help.
module Anons : sig ... endmodule Num_occurrences : sig ... endmodule Flag_info : sig ... endmodule Flag_help_display : sig ... endmodule Base_info : sig ... endmodule Group_info : sig ... endmodule Exec_info : sig ... endmodule Fully_forced : sig ... endFully 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.tval fully_forced : t -> Fully_forced.tval get_summary : t -> Base.stringmodule Sexpable : sig ... endmodule Stable : sig ... endmodule Private : sig ... end