@curvenote/cli
Version:
CLI Client library for Curvenote
22 lines • 753 B
TypeScript
import type { ProjectConfig } from 'myst-config';
import type { ISession } from '../session/types.js';
import type { SyncCiHelperOptions } from './types.js';
type Options = {
remote?: string;
path?: string;
} & SyncCiHelperOptions;
export declare function interactiveCloneQuestions(session: ISession, opts?: Options): Promise<{
siteProject: {
path: string;
slug: string;
};
projectConfig: ProjectConfig;
}>;
/**
* Interactively clone a project from curvenote.com to a given path
*
* If a site config is present, the project is also added to the site.
*/
export declare function clone(session: ISession, remote?: string, path?: string, opts?: Options): Promise<void>;
export {};
//# sourceMappingURL=clone.d.ts.map