Automate Your Project Initialization Using Python & Shell Script

github logo ・1 min read

So every time I start a new project, I repeat the following steps:(most of you would, too)

  • Create a directory for the project.
  • Create and initialize a git repository for that directory.
  • Push this directory onto Github.
  • Open this project directory in VS Code Editor.

And repeating all these steps for every project is tedious. So as a beginner in python scripting, I thought of automating this whole process using a python script and then executing this script in the command line using shell script.

Check it out at my blog below.

twitter logo DISCUSS
Classic DEV Post from Jul 30

What's your favorite question to be asked?

James Shah profile image
A coder and an amateur writer. I write byte-stories and emotional codes.💻🖤

👋 Hey dev.to reader.

Do you prefer sans serif over serif?

You can change your font preferences in the "misc" section of your settings. ❤️