So just to give you some context, I\'m trying to create a generator that will create some files (based on user input of course) as well as update some existing files in
You can use the mem-fs-editor, and call the fs.append(filepath, contents, [options]) method.
fs.append(filepath, contents, [options])
e.g.
this.fs.append(this.contextRoot + "/index.html", " Appended text");
Appended text