Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aslamplr/gh-cli
๐ฅ Yet another unofficial GitHub CLI! Minimalistic, opinionated, and unofficial by default.
https://github.com/aslamplr/gh-cli
blazing-fast blazingly-fast built-with-rust cli gh-cli-unofficial github github-actions github-actions-secrets github-api-v3 github-api-v4 github-cli github-client manage rust unofficial
Last synced: 11 days ago
JSON representation
๐ฅ Yet another unofficial GitHub CLI! Minimalistic, opinionated, and unofficial by default.
- Host: GitHub
- URL: https://github.com/aslamplr/gh-cli
- Owner: aslamplr
- License: mit
- Archived: true
- Created: 2020-04-15T23:59:51.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-09T23:02:38.000Z (over 2 years ago)
- Last Synced: 2024-08-02T05:23:14.487Z (3 months ago)
- Topics: blazing-fast, blazingly-fast, built-with-rust, cli, gh-cli-unofficial, github, github-actions, github-actions-secrets, github-api-v3, github-api-v4, github-cli, github-client, manage, rust, unofficial
- Language: Rust
- Homepage: https://github.com/aslamplr/gh-cli#gh-cli
- Size: 1.41 MB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-blazingly-fast - gh-cli - ๐ฅ Yet another unofficial GitHub CLI! Minimalistic, opinionated, and unofficial by default. (Rust)
README
# gh-cli
named `gh-actions-secrets` earlier, renamed to `gh-cli`.## Install
### Option 1
Download pre-compiled binaries for MacOS, Ubuntu and Windows from the release page.[๐ ยป Download the latest release ยซ](https://github.com/aslamplr/gh-cli/releases)
### Option 2
If you have installed `cargo` you may proceed to install this CLI using cargo. Note that while installing with cargo, cargo will try to build this crate from source.```
cargo install --git https://github.com/aslamplr/gh-cli.git --tag v0.3.1
```You may install `cargo` along with `rust`, follow the [rust install instructions from here](https://www.rust-lang.org/tools/install)
![cmd](docs/gh-cli.png)
## Sub Commands
### Repo
![repo-cmd](docs/gh-cli-repo.png)#### Example
![repo-cmd-sample](docs/gh-cli-repo_sample.png)### Secrets
![secrets-cmd](docs/gh-cli-secrets.png)#### Example
**Add new secret to Github actions secrets**
```
gh-cli secrets --auth_token=qwertyuipasdfghjklzxcvbnmlkgsdfg --name aslamplr/gh-cli --action add --secret_key SECRET_KEY --secret_value SECRET_VALUE_XYZ_BLAH_BLAH
```**List all secrets**
```
gh-cli secrets --auth_token=qwertyuipasdfghjklzxcvbnmlkgsdfg --name aslamplr/gh-cli --action list
```## Development
### Requirements- Rust (rustc 1.43.0)
### Run
```
cargo run -- --help
```### Build (release)
```
cargo build --release
```## Roadmap
- Blazing fast Unofficial Github CLI implemented in Rust
- Rust client library for Github API## Benchmark comparison using hyperfine on MacBook Air
command: `hyperfine --warmup 3 'gh-cli repo --readme' 'gh repo view'`
![benchmark-against-official-cli](docs/benchmark_against_official_cli.png)
_Note: Both `gh-cli` and `gh` pre logged in to make sure both have proper access tokens prior to run benchmarks._