@agility/cli
Version:
Agility CLI for working with your content. (Public Beta)
7 lines (6 loc) • 331 B
TypeScript
/**
* Prompts the user whether they want to overwrite existing files.
* @param itemName - Optional name of the item type being overwritten (e.g., "content data", "gallery files").
* @returns True if the user chooses to overwrite, false otherwise.
*/
export declare function overwritePrompt(rootPath: string): Promise<boolean>;