Skip to content

devmatteini/ProjectInitializationAutomation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 71.2%
  • Batchfile 15.7%
  • Python 13.1%