@swell/cli
Version:
Swell's command line interface/utility
46 lines (45 loc) • 1.32 kB
TypeScript
import { CreateAppCommand } from '../../create-app-command.js';
export default class CreateApp extends CreateAppCommand {
appType: string;
static args: {
id: import("@oclif/core/lib/interfaces/parser.js").Arg<string, Record<string, unknown>>;
};
static description: string;
static examples: {
command: string;
description: string;
}[];
static flags: any;
createSwellConfig({ allowOverwrite, inputId, inputStorefrontApp, inputType, inputYes, nestedPath, }: {
allowOverwrite?: boolean;
inputId?: string;
inputStorefrontApp?: string;
inputType?: string;
inputYes?: boolean;
nestedPath?: boolean;
}): Promise<{
appId: string;
config: any;
installedStorefrontApp: any;
swellConfigJson: {
theme: {
storefront: {
app: string;
};
};
description: string;
id: string;
name: string;
type: string;
version: string;
} | {
permissions: never[];
description: string;
id: string;
name: string;
type: string;
version: string;
};
} | undefined>;
run(): Promise<void>;
}