@curvenote/cli
Version:
CLI Client library for Curvenote
13 lines • 687 B
TypeScript
import type { ProjectConfig } from 'myst-config';
import type { ISession } from '../../session/types.js';
/**
* Write project config to YAML file without data expansion.
* Safely updates only the 'project' key while preserving all other top-level keys.
* Reads the file directly without relying on session state.
*
* @param session - The session object (only used for config file path resolution)
* @param path - The path to the project directory
* @param projectConfig - The cleaned project config to write
*/
export declare function writeProjectToTemplateYmlFile(session: ISession, path: string, projectConfig: ProjectConfig): Promise<void>;
//# sourceMappingURL=utils.d.ts.map