This is a project for create automatically a repository from console in Github with a LICENSE and README.
It is a simple and powerfull idea where you can choose the title, the description and the privacity of the repository.
The structure is REPO_NAME FLAGS [DESCRIPTION]
If the REPO_NAME or the DESCRIPTION have more than ONE word should go between " "
Order of the flags is indiferent and must start with '-'
Flags could be:
n to set a repository name (MANDATORY)
p for make it private, for default is public
d for add a description after the flags
r custom local path, by default ~/Programing/repo_name
Example:python create.py -n DjangoApp -d "This is the example for the description" -p
First of all you have to clone the project:
git clone https://github.com/JarssS8/AutomaticRepositoryCreate.git
Install requirements from pip
pip install -r requirements.txt
You need to create a enviroment variable persistent (https://unix.stackexchange.com/questions/117467/how-to-permanently-set-environmental-variables) with the name GITHUB_TOKEN (https://github.com/settings/tokens)
The last step is create an alias in our .bashrc with the path of our bash script:
alias create='python ~/repo_path/create.py'