UNPKG

@supernovaio/cli

Version:

Supernova.io Command Line Interface

44 lines 2.15 kB
import pulsarCoreTypes from "@supernova-studio/pulsar-core"; import pulsarLanguageTypes from "@supernova-studio/pulsar-language"; import "colors"; import { z } from "zod"; import { SentryCommand } from "../types/index.js"; interface RunLocalExporterFlags { allowOverridingOutput: boolean; apiKey: string; brandId?: string; designSystemId: string; exporterDir: string; outputDir: string; proxyUrl?: string; themeId?: string; } export declare class RunLocalExporter extends SentryCommand<object> { static aliases: string[]; static description: string; static examples: string[]; static flags: { allowOverridingOutput: import("@oclif/core/interfaces").BooleanFlag<boolean>; apiKey: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>; brandId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>; designSystemId: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>; exporterDir: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>; outputDir: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>; proxyUrl: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>; themeId: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>; }; get commandId(): string; get configSchema(): z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; executeExporter(flags: RunLocalExporterFlags, versionId: string): Promise<{ logger: pulsarLanguageTypes.PLLogger; result: Error | pulsarCoreTypes.PCEngineExporterProcessingResult; success: boolean; }>; run(): Promise<void>; private downloadFileToMemory; private ensureDirectoryExists; private logRun; private writeToBuildPath; } export {}; //# sourceMappingURL=run-local-exporter.d.ts.map