Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICliAnsi

Methods for decorating command output with ANSI escape codes https://en.wikipedia.org/wiki/ANSI_escape_code

Hierarchy

  • ICliAnsi

Index

Properties

Methods

Properties

enabled

enabled: boolean

Whether or not ANSI decoration is enabled

Methods

blue

  • blue(message: string): string
  • Decorate the text blue

    Parameters

    • message: string

    Returns string

bold

  • bold(message: string): string
  • Decorate the text bold

    Parameters

    • message: string

    Returns string

green

  • green(message: string): string
  • Decorate the text red

    Parameters

    • message: string

    Returns string

red

  • red(message: string): string
  • Decorate the text red

    Parameters

    • message: string

    Returns string

Generated using TypeDoc and MonoLisa