Control github from your terminal.
GHPY - Github Python
ghpy
is a terminal utility based on the original one 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
-
[Priority] Project Architecture
- Use commands as a separated module
- Wrap authentication into an utils module
- Define the best way to rework the current content to join all the commands to the same parser. (Click)
-
Command
new
- Create repositories
- Define either as
--public
or--private
during creation - Define initial license by
--license
followed by the license name - Optionally create with a
.gitignore
using--gitignore
+ language
-
Command Collab
- Collab add
- Collab rm
-
Command
rm
- 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.