Home > @microsoft/rush-lib > IPhase > shellCommand
IPhase.shellCommand property
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
(Optional) If the shellCommand field is set for a bulk command, Rush will invoke it for each selected project; otherwise, Rush will invoke the package.json "scripts" entry matching Rush command/phase name.
This string is the path to a script that will be invoked using the OS shell. The working directory will be the folder that contains rush.json. If custom parameters are associated with this command, their values will be appended to the end of this string.
Signature:
shellCommand?: string;