Module Command.Shape

include module type of struct include Core_kernel.Command.Shape end
module Flag_info : sig ... end
module Base_info : sig ... end
module Group_info : sig ... end
module Exec_info : sig ... end
type t =
| Basic of Base_info.t
| Group of t Group_info.t
| Exec of Exec_info.t * Base.Unit.t -> t
| Lazy of t Core_kernel.Lazy.t
module Fully_forced : sig ... end with type Fully_forced.shape := t

Fully forced shapes are comparable and serializable.

val help_text : t -> Path.t -> expand_dots:bool -> flags:bool -> recursive:bool -> string

Get the help text for a command shape.

The Path.t argument should be the path that identifies the shape argument.

expand_dots: expand subcommands in recursive help. (default: false) This is the same as the help subcommand's "-expand-dots" flag.

flags: show flags in recursive help. (default: false) This is the same as the help subcommand's "-flags" flag.

recursive: show subcommands of subcommands. (default: false) This is the same as the help subcommand's "-recursive" flag.