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