Options
All
  • Public
  • Public/Protected
  • All
Menu

This class exists as wrapper around a yargs Options object, thereby allowing us to create these in a Components.js configuration.

Hierarchy

  • YargsParameter

Index

Constructors

Properties

Constructors

  • new YargsParameter(name: string, options: Record<string, any>): YargsParameter
  • Parameters

    • name: string

      Name of the parameter. Corresponds to the first parameter passed to the yargs.options function.

    • options: Record<string, any>

      Options for a single parameter that should be parsed. @range {json}

    Returns YargsParameter

Properties

name: string
options: Options