https://github.com/nobe4/gh-raw
https://github.com/nobe4/gh-raw
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nobe4/gh-raw
- Owner: nobe4
- License: mit
- Created: 2024-08-02T23:58:56.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-03T09:02:22.000Z (almost 2 years ago)
- Last Synced: 2025-03-13T10:20:39.154Z (over 1 year ago)
- Language: Go
- Size: 3.49 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `gh-raw` 🍖
> Get the raw HTTP query
[](https://pkg.go.dev/github.com/nobe4/gh-raw)
[](https://github.com/nobe4/gh-raw/actions/workflows/ci.yml)
> [!IMPORTANT]
> Under heavy development, expect nothing.
> PRs/issues welcome!
# Examples
```shell
$ ./gh-raw api /user
curl -X GET \
https://api.github.com/user \
-H "Accept: */*" \
-H "Accept-Encoding: gzip" \
-H "Content-Type: application/json; charset=utf-8" \
-H "Time-Zone: Europe/Berlin" \
-H "User-Agent: GitHub CLI DEV" \
-H "Authorization: token $GITHUB_TOKEN"
```
# Install
```shell
gh extension install nobe4/gh-raw
```