Script (either for linux or windows) to use when you have to create a new project and don't want to do the same (boring) things everytime.
git clone "https://github.com/devmatteini/ProjectInitializationAutomation.git"
cd ProjectInitializationAutomation
pip install -r requirements.txt
source ~/.my_commands.sh
git clone "https://github.com/devmatteini/ProjectInitializationAutomation.git"
cd ProjectInitializationAutomation
pip install -r requirements.txt
If you want to use the create
batch script from everywhere, you have to add to your system environment variables the file's path (I put my batch file under C:\bin
but you can change it).
If you don't know how to change environment variables check out this guide.
create <name_of_your_project> [.gitignore_template]
The .gitignore_template
needs to follow the names used by Github, in order to generate it correctly via the GithubAPI.
dev [-c] <name_of_your_project>
The -c
flag is optional. If you use it, it will open the project in visual studio code.
remove <name_of_your_project>
list
- Create
dev
andremove
script for windows - Add flag on
create
to choose if the repository has to be public or private - Add flag on
remove
to choose between deleting permanently or moving the repo to the trash