UNPKG

748 BTypeScriptView Raw
1import * as rushLib from '@microsoft/rush-lib';
2/**
3 * Both "rush" and "rushx" share the same src/start.ts entry point. This makes it
4 * a little easier for them to share all the same startup checks and version selector
5 * logic. RushCommandSelector looks at argv to determine whether we're doing "rush"
6 * or "rushx" behavior, and then invokes the appropriate entry point in the selected
7 * @microsoft/rush-lib.
8 */
9export declare class RushCommandSelector {
10 static failIfNotInvokedAsRush(version: string): void;
11 static execute(launcherVersion: string, selectedRushLib: any, options: rushLib.ILaunchOptions): void;
12 private static _failWithError;
13 private static _getCommandName;
14}
15//# sourceMappingURL=RushCommandSelector.d.ts.map
\No newline at end of file