UNPKG

@curvenote/cli

Version:
28 lines 1.13 kB
import type { ProjectConfig } from 'myst-config'; import type { ISession } from '../../session/types.js'; import type { Options } from './types.js'; /** * Handle initialization from local folder content */ export declare function handleLocalFolderContent(session: ISession, currentPath: string, projectConfigPaths: string[], opts: Options, existingProjectConfig?: ProjectConfig, existingTitle?: string): Promise<{ projectConfig?: ProjectConfig; title?: string; currentPath: string; }>; /** * Handle initialization from remote Curvenote project */ export declare function handleCurvenoteImport(session: ISession, currentPath: string, opts: Options, providedCurvenoteUrl?: string): Promise<{ projectConfig: ProjectConfig; title?: string; currentPath: string; }>; /** * Handle initialization from GitHub repository template */ export declare function handleGithubImport(session: ISession, currentPath: string, opts: Options, providedGithubUrl?: string): Promise<{ projectConfig?: ProjectConfig; title?: string; currentPath: string; }>; //# sourceMappingURL=initializationHandlers.d.ts.map