Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "src/help"

Index

Variables

Const EOL

EOL: string = os.EOL

Const GAP

GAP: 4 = 4

Const __

__: " " = " "

Functions

Const buildUsage

Const buildUsageSection

Const formatTable

  • formatTable(arr: string[][]): any
  • Parameters

    • arr: string[][]

    Returns any

Const helpFormatter

Const maxLen

  • maxLen(arr: string[]): number
  • Parameters

    • arr: string[]

    Returns number

Const noop

  • noop(s: string): string
  • Parameters

    • s: string

    Returns string

Const section

  • section(str: string, content: string[] | string, fn?: (s: string) => string): string
  • Parameters

    • str: string
    • content: string[] | string
    • Optional fn: (s: string) => string
        • (s: string): string
        • Parameters

          • s: string

          Returns string

    Returns string

Const sentences

  • sentences(str?: string): string[]
  • Parameters

    • Default value str: string = ""

    Returns string[]

Generated using TypeDoc