My goal is to transfer a folder in Yeoman without needing the user's approval for each individual file in the move. I have attempted two different methods, but Yeoman's documentation is lacking and I am unsure if there is a parameter to enable forced deletion.
//Method One
this.fs.move(sourceDir, destDir);
//Method Two
this.directory(sourceDir, destDir);
this.fs.delete(sourceDir);
Both approaches successfully copy the folder and its contents, but the original folder remains or prompts me to approve each deleted file. Is there a way to force delete the old folder?