Skip to content

Simple script to create project folder in local as well as repo in github from cli using personal access token provided by github

Notifications You must be signed in to change notification settings

AwaleRohin/create-repo-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steps to run project

  • 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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published