Skip to content

This is a project wrote in Python for create repositories directly from console including license and README. I always hated init my repository, then create a repository on github and link both of them. This makes all with the choose to make it private or add a description.

License

Notifications You must be signed in to change notification settings

JarssS8/AutomaticRepositoryCreate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📕 Description 📕

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.

📖 How to use 📖

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

📂 Installation 📂

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'

About

This is a project wrote in Python for create repositories directly from console including license and README. I always hated init my repository, then create a repository on github and link both of them. This makes all with the choose to make it private or add a description.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages