@curvenote/cli
Version:
CLI Client library for Curvenote
14 lines • 647 B
TypeScript
import type { ISession } from '../../session/types.js';
import type { Options } from './types.js';
/**
* Initialize local curvenote project from folder or remote project
*
* This command has two modes:
* 1. PROJECT MODIFICATION: Operations like --write-toc that modify existing projects
* 2. PROJECT INITIALIZATION: Create a new project from local folder or Curvenote
*
* Creates a new curvenote.yml file with both site and project configuration.
* Fails if curvenote.yml already exists (unless using modification mode).
*/
export declare function init(session: ISession, opts: Options): Promise<void>;
//# sourceMappingURL=index.d.ts.map