It would be nice to have access to prompt answers in the actions section when modifying files. It seems like in v1 that this is no longer the generator instance.
A simple workaround or path forward is just to modify files based on answers in the completed section using this._answers and being sure to alter the file based on the new template path.
This would also make it possible to rename files based on the answers given, this would be perfect. At the moment I rename files very dirty in the completed using fs.
It would be nice to have access to prompt answers in the actions section when modifying files. It seems like in v1 that
this
is no longer the generator instance.A simple workaround or path forward is just to modify files based on answers in the completed section using
this._answers
and being sure to alter the file based on the new template path.