Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coelhucas/ghpy
[WIP] Control github from your terminal.
https://github.com/coelhucas/ghpy
github github-api github-client python3
Last synced: about 1 month ago
JSON representation
[WIP] Control github from your terminal.
- Host: GitHub
- URL: https://github.com/coelhucas/ghpy
- Owner: coelhucas
- License: mit
- Created: 2019-04-02T16:04:15.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-14T12:57:20.000Z (about 5 years ago)
- Last Synced: 2024-12-16T14:05:00.683Z (about 2 months ago)
- Topics: github, github-api, github-client, python3
- Language: Python
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ghpy
Control github from your terminal.
GHPY - Github Python
`ghpy` is a terminal utility based on the original one [gh](https://github.com/victorgama/gh) made in Go that allow you to use Github directly from your terminal. I'm creating this Python implementation as a challenge to myself. **Disclaimer**: It's still a work in progress.You must add two env variables to use it in its current state:
```
GITHUB_USER=YOUR_GITHUB_USER
GITHUB_ACCESS_TOKEN=YOUR_ACCESS_TOKEN
```# TODO List
- [X] [*Priority*] Project Architecture
- [X] Use commands as a separated module
- [X] Wrap authentication into an utils module
- [X] Define the best way to rework the current content to join all the commands to the same parser. (Click)
- [x] Command `new`
- [x] Create repositories
- [x] Define either as `--public` or `--private` during creation
- [x] Define initial license by `--license` followed by the license name
- [x] Optionally create with a `.gitignore` using `--gitignore` + language
- [x] Command Collab
- [x] Collab add
- [x] Collab rm
- [ ] Command `rm`
- [x] Remove user repositories
- [ ] Remove team repositories- [ ] Team commands - ref from original https://github.com/victorgama/gh#team-management
- [ ] `teams list`
- [ ] `teams members`
- [ ] `teams add`
- [ ] `teams rm`- [ ] Logging
- [ ] Make some logging pattern to handle logs
- [ ] Ensure that general errors are covered by logs- [ ] Implement CI with tests.