package climate

  1. Overview
  2. Docs
type color = [
  1. | `Black
  2. | `Red
  3. | `Green
  4. | `Yellow
  5. | `Blue
  6. | `Magenta
  7. | `Cyan
  8. | `White
  9. | `Bright_black
  10. | `Bright_red
  11. | `Bright_green
  12. | `Bright_yellow
  13. | `Bright_blue
  14. | `Bright_magenta
  15. | `Bright_cyan
  16. | `Bright_white
]
type ansi_style = {
  1. bold : bool;
  2. dim : bool;
  3. underline : bool;
  4. color : color option;
}
val ansi_style_plain : ansi_style
type t = {
  1. program_desc : ansi_style;
  2. usage : ansi_style;
  3. arg_name : ansi_style;
  4. arg_desc : ansi_style;
  5. section_heading : ansi_style;
}
val default : t

An opinionated default value with some colours and formatting

val plain : t

Plain formatting for each part of help messages

OCaml

Innovation. Community. Security.