@coat/cli
Version:
TODO: See #3
10 lines (9 loc) • 471 B
TypeScript
import { FileOperation } from "./get-file-operations";
/**
* Checks whether one or multiple file operations require the user to be prompted -
* i.e. when files might be overwritten which have been modified by the user -
* and asks whether syncing should continue with overwriting these files.
*
* @param fileOperations The file operations that will be performed
*/
export declare function promptForFileOperations(fileOperations: FileOperation[]): Promise<boolean>;