@swell/cli
Version:
Swell's command line interface/utility
21 lines (20 loc) • 1.44 kB
TypeScript
import { SwellCommand } from './swell-command.js';
export declare abstract class CreateAppCommand extends SwellCommand {
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>;
yes: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
};
private devApi;
constructor(argv: string[], config: any);
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>;
setupPackage(name: string, config: any, pkg: string): Promise<void>;
tryPackageSetup(name: string, config: any, pkg: string): Promise<void>;
}