Index

Variables

Functions

Variables

Const lib

lib: arg = arg

The imported library itself

Const name

name: "tridactyl-arg" = "tridactyl-arg"

The arguments parsing library name

Functions

isLastDoubleHyphen

  • isLastDoubleHyphen(argv: string[]): boolean
  • Small function to test if the double hyphen is the last option. If a command does not expect empty arguments, and user just pass "--" as a normal argument, this function cal tell it.

    Parameters

    • argv: string[]

    Returns boolean