Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CommandOption<ValueType>

class

CommandOption

package

Swapable

subpackage

Models

since

v1.0.0

description

Generic model that describes parameters of a command execution.

Type parameters

  • ValueType

Hierarchy

  • CommandOption

Index

Constructors

Properties

Constructors

constructor

  • new CommandOption(name: string, value: ValueType): CommandOption

Properties

name

name: string
description

The option name

value

value: ValueType

Generated using TypeDoc