@absolunet/ioc2.1.0

View on GitHub

Parameter

Parameter argument class. Represents a string value that look like "some:command argument" in a command.

Constructor

new Parameter(name, required, defaultValue, description)

Source:
Parameter constructor.
Parameters:
Name Type Default Description
name string The name.
required boolean true Indicates that the parameter is required.
defaultValue * | null null The default value.
description string The description for CLI help.

Extends

Members

signature :string

Source:
Parameter signature.

yargsModel :Object

Source:
Overrides:
Get Yargs argument model.