This script enables you to split a large Prisma seed file into multiple smaller seeds, each containing a specified number of lines. Additionally, it automatically adds the necessary import statements, variables, and array tags you need.
- Ensure you have Python installed on your system.
- Clone or download this repository.
- Place the input file you want to split in a location accessible by the script.
Fill the input_file and lines_per_file with your values
Run the script with the following command:
python3 index.py
Ed Castro (@EdSDR)