create-github-repo
Simple CLI to initialize repos on GitHub using Python.
Example Usage
- Create a new public repository (-p) called
New-Repository
with the description (-d)My new Repository
. - Use GitHub credentials stored in a local file (-f) called
github.txt
to authenticate with the GitHub API. - Interactively confirm or revert changes (-r).
$ python -m pip install create_github_repo
$ python -m create_github_repo -f github.txt -d "My new repo" -p -r "Test Repository"
Created: https://github.com/geocoug/Test-Repository
Attributes:
visibility: public
created_at: 2022-08-16 12:39:33
description: My new repo
Do you want to keep these changes [Y/n]: y