← ZIO Cli docs

HelpDoc

zio.cli.HelpDoc
See theHelpDoc companion object
sealed trait HelpDoc

A HelpDoc models the full documentation for a command-line application.

HelpDoc is composed of optional header and footers, and in-between, a list of HelpDoc-level content items.

HelpDoc-level content items, in turn, can be headers, paragraphs, description lists, and enumerations.

A HelpDoc can be converted into plaintext, JSON, and HTML.

Attributes

Companion
object
Source
HelpDoc.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Empty
class Enumeration
class Header
class Paragraph
class Sequence
Show all
Self type

Members list

Value members

Concrete methods

def +(that: HelpDoc): HelpDoc

Attributes

Source
HelpDoc.scala
def getSpan: Span

Attributes

Source
HelpDoc.scala

Attributes

Source
HelpDoc.scala

Attributes

Source
HelpDoc.scala

Attributes

Source
HelpDoc.scala

Attributes

Source
HelpDoc.scala

Attributes

Source
HelpDoc.scala

Attributes

Source
HelpDoc.scala

Attributes

Source
HelpDoc.scala
def toHTML: String

Attributes

Source
HelpDoc.scala
def toPlaintext(columnWidth: Int = ..., color: Boolean = ...): String

Attributes

Source
HelpDoc.scala
def |(that: HelpDoc): HelpDoc

Attributes

Source
HelpDoc.scala