Skip to content

Latest commit

 

History

History
61 lines (33 loc) · 1.14 KB

File metadata and controls

61 lines (33 loc) · 1.14 KB
hide_title true
custom_edit_url
pagination_prev
pagination_next

Home > @microsoft/rush-lib > IGlobalCommand > getCustomParametersByLongName

IGlobalCommand.getCustomParametersByLongName() method

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Get a parameter by its long name (e.g. "--output-path") that was defined in command-line.json for this command. If the parameter was not defined or not provided on the command line, this will throw.

Signature:

getCustomParametersByLongName<TParameter extends CommandLineParameter>(longName: string): TParameter;

Parameters

Parameter

Type

Description

longName

string

Returns:

TParameter