@swell/cli
Version:
Swell's command line interface/utility
31 lines (30 loc) • 1.47 kB
TypeScript
import { PushAppCommand } from '../../push-app-command.js';
export default class AppDev extends PushAppCommand {
static delayOrientation: boolean;
static examples: string[];
static flags: {
'no-push': import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
port: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<number | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
'frontend-port': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<number | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
'storefront-id': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
'storefront-select': import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
};
static orientation: {
env: string;
};
static summary: string;
functionErrors: Map<string, string>;
functionPorts: Map<string, number>;
tmpDir: string;
run(): Promise<void>;
runAppFrontendDevIfApplicable(frontendPort?: number): Promise<number | void>;
private createFunctionRouter;
private createTmpDirectory;
private generateWranglerConfig;
private getAppFunctions;
private logAllFunctions;
private logFunction;
private onChangeFunctionWatcher;
private startAppFunctionServer;
private startFunctionServers;
}