Command.Shape
SourceA Command_shape
allows limited introspection of a Command
, including subcommands, arguments, and doc strings. Think of it as machine-readable help.
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