create <Project Name> [-optional -m <Message> -v <Visibility Public> -p <Project Path>]
If the project path is incorrect then current working directory will be chosen
This command allows you to create a project folder in any given directory on your Linux/Mac machine. Alongside making a directory it does the following.
- It initializes your porject folder as a git repository
git init
. - It creates a
Github Repository
with the same name as yourProject Name
with the inital message being your optional message and visibility as provided by the user. - It creates a
README.md
file and does the inital commit for your project onGithub
. - Opens your favorite text editor for you. (Currently set to VSCode but can be changed from
script.sh
)
- Download the files place them both in the ~ directory
- Go into the your shell's
rc
default config file (Usally its.bashrc
). - Add
source ./script.sh
at the end of the config file. - Add an environment variable called
github_token
in the same shell config file. (export $github_token="<Your Github Token>"
) - Install Python3
- Setup an SSH Key for your github account so that you can remotely pull and push code to your repositories. Chances are it'll already be configured if you've been using github through terminal.
- In case of skipping of any step may result in Error and breaking of program
- This project incorporates both
Python
andBash Scripting
- This code is completely open source. I've tried my best to comment the code so anyone making modifications can feel at home.
- Email: [email protected]