Generates entity files for the given provider.
The provider to generate the files for.
The current working directory.
The files to generate and the lines to add to the index.ts.
Generates entity files for the given provider.