Home > @microsoft/rush-lib > Rush
Rush class
General operations for the Rush engine.
Signature:
export declare class Rush
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
version |
| string | The currently executing version of the "rush-lib" library. This is the same as the Rush tool version for that release. |
Methods
Method | Modifiers | Description |
---|---|---|
launch(launcherVersion, arg) | static | This API is used by the @microsoft/rush front end to launch the "rush" command-line. Third-party tools should not use this API. Instead, they should execute the "rush" binary and start a new Node.js process. |
launchRushPnpm(launcherVersion, options) | static | This API is used by the @microsoft/rush front end to launch the "rush-pnpm" command-line. Third-party tools should not use this API. Instead, they should execute the "rush-pnpm" binary and start a new Node.js process. |
launchRushX(launcherVersion, options) | static | This API is used by the @microsoft/rush front end to launch the "rushx" command-line. Third-party tools should not use this API. Instead, they should execute the "rushx" binary and start a new Node.js process. |