@curvenote/cli
Version:
CLI Client library for Curvenote
19 lines • 563 B
TypeScript
import type { ISession } from '../session/types.js';
type Options = {
branch?: string;
force?: boolean;
yes?: boolean;
domain?: string;
writeTOC?: boolean;
};
/**
* Initialize local curvenote project from folder or remote project
*
* It creates a new curvenote.yml file in the current directory with
* both site and project configuration.
*
* This fails if curvenote.yml already exists; use `start` or `add`.
*/
export declare function init(session: ISession, opts: Options): Promise<void>;
export {};
//# sourceMappingURL=init.d.ts.map