snapcube
Version:
📦 Snapshot, backup, and restore any project — binary-safe, fast, and simple CLI.
13 lines • 648 B
TypeScript
import { ServiceOptions } from "../types";
/**
* Clone (snapshot) a local project into a JSON file.
*
* @param rootPath - Path of the project directory to snapshot
* @param options - Configuration for how files should be scanned
* - ignoreBinaries: Skip contents of binary files (images, pdfs, etc.)
* - ignoreAll: Skip contents of all files (structure only)
* - token: Reserved for GitHub API use (not used in local scans)
* - structureOnly: If true, combine `filePath` + `fileName` into one
*/
export declare const cloneProject: (rootPath: string, options?: ServiceOptions) => void;
//# sourceMappingURL=cloneProject.d.ts.map