https://github.com/bga/github-cli
github-cli api curl caller
https://github.com/bga/github-cli
Last synced: 10 months ago
JSON representation
github-cli api curl caller
- Host: GitHub
- URL: https://github.com/bga/github-cli
- Owner: bga
- License: other
- Created: 2024-04-26T17:28:58.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-26T18:08:17.000Z (about 2 years ago)
- Last Synced: 2025-06-02T12:30:01.513Z (about 1 year ago)
- Language: Shell
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Github command line interface
Interact with Github servers via *curl* requests to their [REST API v1](https://docs.github.com/en/rest).
Use `./github` to show available actions.
Use `./github ` to show required parameters.
Use `./github ...` to run actions.
## Available actions include to
- [x] create/fork/delete/list/query user/organization **repositories**
- [ ] add/remove/list repository **collaborators**
- [ ] create/list organization **teams**
- [ ] add/remove/list organization **team members**
- [ ] add/remove organization **team repositories**
- [ ] fetch **raw** file content
## Setup
- Github server URL
- Required in the form `github.com`
- Via environment variable or file in this directory
- Github API token
- Create at `https://YOUR.GOGS.SERVER/settings/tokens`
- Via environment variable or file in this directory
(See `config` section in `./github`)
---
*The REST API does not yet allow some actions (like organization team deletion).
Similarly, this cli does not cover all avilable actions — pull requests are welcome!*