Module Core__Command.Shape
include module type of sig ... end
type t
= Core_kernel__Command.Shape.t
=
|
Basic of Base_info.t
|
Group of t Group_info.t
|
Exec of Exec_info.t * Core_kernel__.Import.unit -> t
|
Lazy of t Core_kernel.Lazy.t
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 thehelp
subcommand's"-expand-dots"
flag.flags
: show flags in recursive help. (default: false) This is the same as thehelp
subcommand's"-flags"
flag.recursive
: show subcommands of subcommands. (default: false) This is the same as thehelp
subcommand's"-recursive"
flag.