@coat/cli
Version:
TODO: See #3
22 lines (21 loc) • 906 B
TypeScript
/**
* Generates all files from the current coat project.
*
* The sync function gathers all extended templates of the current project
* and merges all files that should be written to the project directory.
*
* Setup tasks that have not been run before will be run at the beginning
* of the sync process, to ensure that the templates have access to the
* latest configuration and task results that are required to generate
* the project files.
*
* @param options.cwd The working directory of the current coat project
* @param options.check Whether a dry-run should be performed that checks
* @param options.skipInstall Whether dependency installation should be skipped
* and exits if the coat project is out of sync and has pending file updates
*/
export declare function sync({ cwd, check, skipInstall, }: {
cwd: string;
check?: boolean;
skipInstall?: boolean;
}): Promise<void>;