title: How should I move or delete files in a Yeoman Generator?
body: <p>I'm building a generator that in part includes scaffolding from another project created with <code>exec</code>. Depending on user input I need to move or delete parts of this scaffolding. </p>
  
  <p>Right now I'm doing it with node's <code>fs.child_process.spawn</code> and <code>shelljs</code>, but seeing as the Yo generator has <code>mkdir</code>, <code>write</code>, <code>template</code>, and <code>copy</code>, I'm wondering if there's a Yo way to move or delete files and directories.</p>