Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.