UNPKG

@swell/cli

Version:

Swell's command line interface/utility

36 lines (35 loc) 2.27 kB
import { SwellCommand } from './swell-command.js'; export declare abstract class CreateAppCommand extends SwellCommand { protected commandExample: string; static baseFlags: { frontend: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>; 'storefront-app': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>; 'integration-type': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>; 'integration-id': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>; yes: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>; }; private devApi; constructor(argv: string[], config: any); addAllowedHostsToAngular(configPath: string): Promise<void>; addAllowedHostsToAstro(configPath: string): Promise<void>; addAllowedHostsToNuxt(configPath: string): Promise<void>; createAppConfigFolders(swellConfig: any): Promise<void>; createFrontendApp(swellConfig: any, flags: any, directCreate?: boolean, kind?: string): Promise<boolean>; createStorefrontApp(swellConfig: any, flags: any, directCreate?: boolean): Promise<boolean>; createThemeApp(config: any, flags: any, installedStorefrontApp: any): Promise<boolean>; doesPackageManagerExist(packageManager: string): Promise<boolean>; execWithStdio(cwd: string, command: string, onOutput?: (string: string) => any | false): Promise<void>; findPackageManager(pkg?: string): Promise<string | undefined>; getInstalledStorefrontApps(): Promise<any[] | boolean>; getProjectType(frameworkType: string): { installCommand: string; buildCommand?: string | undefined; devCommand: string; mainPackage: string; name: string; slug: string; }; setupPackage(name: string, config: any, pkg: string): Promise<void>; tryPackageSetup(name: string, config: any, pkg: string): Promise<void>; private addFrontendAllowedHosts; }