demo.mov
Copy generator.py in your C++ module repository:
wget https://raw.githubusercontent.com/taaae/42_cpp_generator/main/generator.py
# or
curl -O https://raw.githubusercontent.com/taaae/42_cpp_generator/main/generator.py
Run the script passing the module and exercise number as arguments:
python3 generator.py cpp05 ex03
Generating the whole module works as well (note that you will need to manually copy-paste the code afterwards):
python3 generator.py cpp05
To view list of options:
python3 generator.py --help