You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clone the repo git clone 'https://github.com/AwaleRohin/create-repo-script.git'
Move to cloned directory cd create-repo-script
Make sure you have python installed along with pip
Create vitrual environment python3 -m venv venv or virtualenv -p python3 venv to install required packages or
you can install the required pacakges globally wthout creating virtual environment
To install required packages: pip install -r requirements.txt
Create credentials.yaml touch credentials.yaml and fill with the help of credentials.yaml.example file
Provide user access to execute script chmod u+x script.sh
Finaly run the project: ./script.sh <name_of_repo>
Create github personal access:
Go to Github Setting -> Developer Setting -> Personal Access Token -> Generate new token or simply go to this link
Make sure to select repo in scope while generating token
About
Simple script to create project folder in local as well as repo in github from cli using personal access token provided by github