| hide_title | true |
|---|---|
| custom_edit_url | |
| pagination_prev | |
| pagination_next |
Home > @microsoft/rush-lib > IRushCommandLineParameter
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.
Information about the available parameters associated with a Rush action
Signature:
export interface IRushCommandLineParameter |
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
string |
(BETA) Documentation for the parameter that will be shown when invoking the tool with "--help" | |
|
|
string |
(BETA) (Optional) If provided, this parameter can also be provided by an environment variable with the specified name. | |
|
|
keyof typeof CommandLineParameterKind |
(BETA) The corresponding string representation of CliParameterKind | |
|
|
string |
(BETA) The long name of the flag including double dashes, e.g. "--do-something" | |
|
|
boolean |
(BETA) (Optional) If true, then an error occurs if the parameter was not included on the command-line. | |
|
|
string |
(BETA) (Optional) An optional short name for the flag including the dash, e.g. "-d" |