Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Namespaces

Interfaces

Functions

Functions

minimist

  • Return an argument object populated with the array arguments from args

    Parameters

    • Optional args: string[]
    • Optional opts: Opts

    Returns ParsedArgs

  • Return an argument object populated with the array arguments from args. Strongly-typed to be the intersect of type T with minimist.ParsedArgs.

    T The type that will be intersected with minimist.ParsedArgs to represent the argument object

    Type parameters

    • T

    Parameters

    • Optional args: string[]
    • Optional opts: Opts

    Returns T & ParsedArgs

  • Return an argument object populated with the array arguments from args. Strongly-typed to be the the type T which should extend minimist.ParsedArgs

    T The type that extends minimist.ParsedArgs and represents the argument object

    Type parameters

    Parameters

    • Optional args: string[]
    • Optional opts: Opts

    Returns T