Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alphabeta1906/pyginit
A simple github automation cli
https://github.com/alphabeta1906/pyginit
automation cli cli-app click command-line-app command-line-tool git github gitpython pygithub python python-cli python-package python3 python39
Last synced: 14 days ago
JSON representation
A simple github automation cli
- Host: GitHub
- URL: https://github.com/alphabeta1906/pyginit
- Owner: AlphaBeta1906
- License: mit
- Created: 2021-05-21T08:18:27.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-11T15:10:24.000Z (over 2 years ago)
- Last Synced: 2025-01-18T08:14:15.072Z (19 days ago)
- Topics: automation, cli, cli-app, click, command-line-app, command-line-tool, git, github, gitpython, pygithub, python, python-cli, python-package, python3, python39
- Language: Python
- Homepage:
- Size: 116 KB
- Stars: 16
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![GitHub](https://img.shields.io/github/license/AlphaBeta1906/pyGinit?style=flat-square)
# pyGinitpyGinit 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 access token
2. git 1.70 or newer
3. python >= 3.7## Installation
using pipx :
```bash
pipx install pyGinit
```
from this repository(may not stable) :
```bash
git clone https://github.com/AlphaBeta1906/pyGinit.git
cd pyGinit
poetry build
```## Usage
### Authentication :
You need to add token and username of your github account using :```bash
pyginit set-auth
```
use the same command to change your auth valueif you dont know how to get your github token, you can see [this](https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token)
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 :
```bash
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:
```bash
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
[MIT](https://github.com/AlphaBeta1906/pyGinit/blob/master/LICENSE)## Development status :
[v0.2.1](https://github.com/AlphaBeta1906/pyGinit/releases/tag/v0.2.1)
[v0.2.0](https://github.com/AlphaBeta1906/pyGinit/releases/tag/v0.2.0)
[v0.1.9](https://github.com/AlphaBeta1906/pyGinit/releases/tag/v0.1.9)
[v0.1.7](https://github.com/AlphaBeta1906/pyGinit/releases/tag/V0.1.7)
[v0.1.6-beta](https://github.com/AlphaBeta1906/pyGinit/releases/tag/v0.1.6-beta)
[v0.1.5-beta](https://github.com/AlphaBeta1906/pyGinit/releases/tag/v0.1.5-beta)
[v0.1.3-alpha](https://github.com/AlphaBeta1906/pyGinit/releases/tag/v0.1.3-alpha)