UNPKG

@curvenote/cli

Version:
16 lines 795 B
import type { ProjectConfig } from 'myst-config'; import type { ISession } from '../../session/types.js'; /** * Helper to validate that a project config exists * Used by project modification operations */ export declare function validateExistingProject(session: ISession, currentPath: string): ProjectConfig; /** * Handle --write-toc option: Generate table of contents for existing project */ export declare function handleWriteTOC(session: ISession, currentPath: string, projectConfig: ProjectConfig): Promise<void>; /** * Handle --add-authors option: Add authors to existing project */ export declare function handleAddAuthors(session: ISession, currentPath: string, projectConfig: ProjectConfig, authorsInput?: string): Promise<void>; //# sourceMappingURL=modificationHandlers.d.ts.map