I created a simple bash script for automating environment setup to save time

Revision en1, by jai_dewani, 2020-07-24 20:13:00

Soon after I started regularly participating in CF rounds, I noticed I was creating a folder for a new file, creating A, B, C python files and typing the same template in every contest.

So I decided to automate this process, the bash script takes the round name as input and creates a folder with that name, create 3 files (A.py, B.py, C.py) and writes a set template to each one of them.

Find my bash script here. There are so many more things that can be done, so I am sharing this with everyone and hoping to see your own versions of it too :)

Tags automation, script, bash

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English jai_dewani 2020-07-24 20:13:00 703 Initial revision (published)