devmatteini / ProjectInitializationAutomation

:robot: Script to use when you have to create a new project and don't want to do the same (boring) things everytime.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ProjectInitializationAutomation

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.

Installation

Linux

git clone "https://github.com/devmatteini/ProjectInitializationAutomation.git"

cd ProjectInitializationAutomation

pip install -r requirements.txt

source ~/.my_commands.sh

Windows

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.

Usage

Create A New Project

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.

Open An Existing Project (Only on Linux)

dev [-c] <name_of_your_project>

The -c flag is optional. If you use it, it will open the project in visual studio code.

Delete An Existing Project (Only on Linux)

remove <name_of_your_project>

Show All Projects (Only on Linux)

list

TODO

  • Create dev and remove 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

About

:robot: Script to use when you have to create a new project and don't want to do the same (boring) things everytime.


Languages

Language:Shell 71.3%Language:Batchfile 15.7%Language:Python 13.1%