a simple cli tools for automation git repository creation
Project description
pyGinit
pyGinit is a command line tools that help you to initialize your current project a local git repo and remote repo
Requirements
Requirements before install pyGinit:
- a github account and it's personal access token
- git 1.70 or newer
- python >= 3.7
Installation
using pip :
pip install pyGinit
from this repository(may not stable) :
git clone https://github.com/AlphaBeta1906/pyGinit.git
cd pyGinit
pip install --editable . # install it globally so you can use it everywhere
Usage
Authentication :
You need to add token and username of your github account using :
pyginit set-auth <YOUR_GITHUB_TOKEN> <YOUR_GITHUB_USERNAME>
use the same command to change your auth value
if you dont know how to get your github token, you can see this
all your token are save in .pyGinitconfig.ini
at home path, so you will be secure
repository initalization :
go to your project directory where you want to create local and remote repository for it. and then type :
pyginit init
all you need is to fill out inquirer by pyInquirer
and let pyGinit
do the rest, from creating local repository,remote github repository, and push your directory to github
Note: make sure the directory is not a local git repository
create empty github repository
open your terminal and following command:
pyginit remote
inquirer will appear and then pyGinit will crate a empty github repository
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
Development status :
v0.2.1
v0.2.0
v0.1.9
v0.1.7
v0.1.6-beta
v0.1.5-beta
v0.1.3-alpha
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pyGinit-0.3.1.tar.gz
.
File metadata
- Download URL: pyGinit-0.3.1.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93468f423fb338cc54abe09929d47b2d05d55a511b06697ef3f908b4f3150f71 |
|
MD5 | 13c785ccb34bb1c91a77152910ec17f8 |
|
BLAKE2b-256 | aec92206f7ad47b0b4f0e24d2d5e08f9bbc3b50238d9fd071e9dc3f0544d2329 |