Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CliToken

A parsed token in the command line interface.

Hierarchy

  • CliToken

Index

Methods

isBlank

  • isBlank(): boolean
  • Returns boolean

isText

  • isText(): boolean
  • Returns boolean

raw

  • raw(): string
  • Returns string

value

  • value(): string
  • Returns string

Static createBlank

  • Create a new blank token.

    Parameters

    • blank: string

    Returns CliToken

Static createText

  • Create a text token.

    Parameters

    • text: string

    Returns CliToken

Static tokenize

  • Tokenize the string argument and return a list of tokens.

    Parameters

    • s: string

    Returns CliToken

Generated using TypeDoc