Inspired by Kalle Hallden's 'One Day Builds: Automating My Projects With Python', here is my implementation of his project.
- Python 2.7.X- Visual Studio Code
- Windows Machine >:) 1. Complete the 'config.json' file with the required fields. When providing the project directory please use the following format: C:\\Users\\name\\documents\\github_projects
2. Replace the rem lines in 'create.bat' with the respective paths and GitHub origin.
3. After completeing step 2, drag 'create.bat' to your System32 folder located typically at path C:\Windows\System32 This script, when implemented correctly, will allow the user to create a new project directory and GitHub repository autonomously from the command line. After doing this, the script will then proceed to open up the newly created directory in Visual Studio Code.
After the steps above have been completed, the user should be able to use the command 'create project-name' from any directory on their machine.