Skip to main content

a simple cli tools for automation git repository creation

Project description

Python package GitHub

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:

  1. a github account and it's personal acces token
  2. git 1.70 or newer
  3. python >= 3.7

Installation

using pip :

pip install pyGinit

from this repository(maybe not stable) :

git clone  https://github.com/AlphaBeta1906/pyGinit.git
cd path/to/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

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

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Development status :

v0.2.0 v0.1.9
v0.1.7
v0.1.6-beta
v0.1.5-beta
v0.1.3-alpha

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyGinit-0.2.1.tar.gz (7.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page