Install:

git clone "https://github.com/KalleHallden/ProjectInitializationAutomation.git"
cd ProjectInitializationAutomation

Then go to .env.example rename it to .env then set:

  • PROJECTS_PATH: As your projects path.
  • USERNAME: Your github username.
  • PASSWORD: Your github password.
    You are able to leave the password empty and the shell will ask you to enter it when running the command.

To use the command on the current terminal session run this command into the terminal.

source ~/.my_commands.sh

To use the command global add this command to your .bash_profile

source cloned_project_path/ProjectInitializationAutomation/.my_commands.sh

Then run this command into your terminal to start using the script

source .bash_profile

Note: Global use may change from os to another

Usage:

To run the script type in

project <name>

To delete the project

project -d <name>