RoadmapShopEvents
Skip to main content

Home > @microsoft/rush-lib > Rush

Rush class

General operations for the Rush engine.

Signature:
export declare class Rush

Properties

PropertyModifiersTypeDescription
versionstaticstringThe currently executing version of the "rush-lib" library. This is the same as the Rush tool version for that release.

Methods

MethodModifiersDescription
launch(launcherVersion, arg)staticThis 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.
launchRushX(launcherVersion, options)staticThis 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.