-
Couldn't load subscription status.
- Fork 40
Closed
Description
Currently we have a single NPM script for data generation purposes. However no script files exists. We would like to create a script files that replace the data generation process.
Tasks:
- Create a script file at:
src/server/scripts/generate-data.js. - Follow this guide to add the proper shebang directive and setup permissions only. Do not add a
binentry. - The script file should support a
--onlyoption and only one of two values are accepted:usersorrepos. When that CLI option is specified, then only the specified set will be generated. - Replace the current single NPM script (
generate,scrape:usersandscrape:repos) with one script:generate-datawhich will execute our new cli script defined at:src/server/scripts/generate-data.js.