package core

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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 =
  1. | Basic of Base_info.t
  2. | Group of t Group_info.t
  3. | Exec of Exec_info.t * Base.unit -> t
  4. | Lazy of t Base.Lazy.t
val fully_forced : t -> Fully_forced.t
val get_summary : t -> Base.string
module Sexpable : sig ... end
val help_text : [ `Use_Command_unix ]
  • deprecated [since 2021-03] Use [Command_unix]
module Stable : sig ... end
module Private : sig ... end
OCaml

Innovation. Community. Security.